Package de.hybris.platform.task.impl
Class TaskEngineParameters
- java.lang.Object
-
- de.hybris.platform.task.impl.TaskEngineParameters
-
public class TaskEngineParameters extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaskEngineParameters.ParametersBuilder
-
Constructor Summary
Constructors Modifier Constructor Description protectedTaskEngineParameters(TaskEngineParameters.ParametersBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>getClusterGroupsForThisNode()intgetClusterNodeID()intgetMaxItemsToSchedule()intgetMaxThreads()TenantgetTenant()booleanisExclusiveMode()booleanisProcessTriggerTask()
-
-
-
Constructor Detail
-
TaskEngineParameters
protected TaskEngineParameters(TaskEngineParameters.ParametersBuilder builder)
-
-
Method Detail
-
getMaxThreads
public int getMaxThreads()
- Returns:
- number of threads that can process tasks concurrently
-
getMaxItemsToSchedule
public int getMaxItemsToSchedule()
- Returns:
- max items to schedule for execute
-
getClusterNodeID
public int getClusterNodeID()
- Returns:
- id of current node in the cluster
-
getClusterGroupsForThisNode
public java.util.Collection<java.lang.String> getClusterGroupsForThisNode()
- Returns:
- collection of node group ids that are valid for current node
-
getTenant
public Tenant getTenant()
-
isProcessTriggerTask
public boolean isProcessTriggerTask()
-
isExclusiveMode
public boolean isExclusiveMode()
- Returns:
- is this node running in exclusive mode
-
-