Package com.facebook.buck.worker
Interface WorkerProcessPool
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
WorkerProcessPoolAsync
,WorkerProcessPoolSync
public interface WorkerProcessPool extends Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
int
getCapacity()
com.google.common.hash.HashCode
getPoolHash()
com.google.common.util.concurrent.ListenableFuture<WorkerJobResult>
submitJob(String expandedJobArgs)
-
-
-
Method Detail
-
getPoolHash
com.google.common.hash.HashCode getPoolHash()
-
getCapacity
int getCapacity()
-
submitJob
com.google.common.util.concurrent.ListenableFuture<WorkerJobResult> submitJob(String expandedJobArgs) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-