public interface WorkerBehaviorConfig
PendingTaskBasedWorkerProvisioningStrategy
and
SimpleWorkerProvisioningStrategy
, WorkerBehaviorConfig is used only
in TaskRunner
, and only getSelectStrategy()
method is used. That is why
the WorkerBehaviorConfig's interface is minimized to just this method. PendingTaskBasedWorkerProvisioningStrategy and
SimpleWorkerProvisioningStrategy are written to work only with DefaultWorkerBehaviorConfig
. Extension-defined
WorkerBehaviorConfig implementations should likely be used with different extension-defined ProvisioningStrategy
implementations as well.Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_KEY |
static WorkerSelectStrategy |
DEFAULT_STRATEGY |
Modifier and Type | Method and Description |
---|---|
WorkerSelectStrategy |
getSelectStrategy() |
static final String CONFIG_KEY
static final WorkerSelectStrategy DEFAULT_STRATEGY
WorkerSelectStrategy getSelectStrategy()
Copyright © 2011–2018. All rights reserved.