public interface WorkerProcessIdentity
Modifier and Type | Method and Description |
---|---|
String |
getPersistentWorkerKey()
If the current invocation allows to have persisted worker pools (buck is running as daemon), it
will be used to obtain the instance of the persisted worker process pool.
|
com.google.common.hash.HashCode |
getWorkerHash()
Hash to identify the specific worker pool and kind of a mechanism for invalidating existing
pools.
|
static WorkerProcessIdentity |
of(String persistentWorkerKey,
com.google.common.hash.HashCode workerHash) |
String getPersistentWorkerKey()
com.google.common.hash.HashCode getWorkerHash()
static WorkerProcessIdentity of(String persistentWorkerKey, com.google.common.hash.HashCode workerHash)