public final class FileBasedWorkerRequirementsProvider extends Object implements WorkerRequirementsProvider
| Modifier and Type | Field and Description |
|---|---|
static com.facebook.buck.remoteexecution.proto.WorkerRequirements |
DONT_RETRY_ON_OOM_DEFAULT |
static com.facebook.buck.remoteexecution.proto.WorkerRequirements |
RETRY_ON_OOM_DEFAULT |
| Constructor and Description |
|---|
FileBasedWorkerRequirementsProvider(ProjectFilesystem projectFilesystem,
String workerRequirementsFilename,
boolean tryLargerWorkerOnOom,
int cacheSize) |
| Modifier and Type | Method and Description |
|---|---|
com.facebook.buck.remoteexecution.proto.WorkerRequirements |
resolveRequirements(BuildTarget target,
String auxiliaryBuildTag)
Resolve rule's worker requirements.
|
public static final com.facebook.buck.remoteexecution.proto.WorkerRequirements RETRY_ON_OOM_DEFAULT
public static final com.facebook.buck.remoteexecution.proto.WorkerRequirements DONT_RETRY_ON_OOM_DEFAULT
public FileBasedWorkerRequirementsProvider(ProjectFilesystem projectFilesystem, String workerRequirementsFilename, boolean tryLargerWorkerOnOom, int cacheSize)
public com.facebook.buck.remoteexecution.proto.WorkerRequirements resolveRequirements(BuildTarget target, String auxiliaryBuildTag)
resolveRequirements in interface WorkerRequirementsProvidertarget - build targetauxiliaryBuildTag - auxiliary tag capturing any custom configurations