public class DistributedWorkmanager<T extends DistributedWorkmanager> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DistributedWorkmanager.DistributedWorkmanagerResources
Child mutators for DistributedWorkmanager
|
| Constructor and Description |
|---|
DistributedWorkmanager(String key) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
T |
longRunningThreads(List<LongRunningThreads> value)
Add all LongRunningThreads objects to this subresource
|
T |
longRunningThreads(LongRunningThreads value)
Add the LongRunningThreads object to the list of subresources
|
String |
name()
The name of the DistributedWorkManager
|
T |
name(String value)
The name of the DistributedWorkManager
|
String |
policy()
The policy decides when to redistribute a Work instance
|
T |
policy(String value)
The policy decides when to redistribute a Work instance
|
Map |
policyOptions()
List of policy's options key/value pairs
|
T |
policyOptions(Map value)
List of policy's options key/value pairs
|
String |
selector()
The selector decides to which nodes in the network to redistribute the Work instance to
|
T |
selector(String value)
The selector decides to which nodes in the network to redistribute the Work instance to
|
Map |
selectorOptions()
List of selector's options key/value pairs
|
T |
selectorOptions(Map value)
List of selector's options key/value pairs
|
T |
shortRunningThreads(List<ShortRunningThreads> value)
Add all ShortRunningThreads objects to this subresource
|
T |
shortRunningThreads(ShortRunningThreads value)
Add the ShortRunningThreads object to the list of subresources
|
DistributedWorkmanager.DistributedWorkmanagerResources |
subresources() |
public DistributedWorkmanager(String key)
public String getKey()
public String name()
public String policy()
public Map policyOptions()
public String selector()
public T selector(String value)
public Map selectorOptions()
public DistributedWorkmanager.DistributedWorkmanagerResources subresources()
public T longRunningThreads(List<LongRunningThreads> value)
value - List of LongRunningThreads objects.public T longRunningThreads(LongRunningThreads value)
value - The LongRunningThreads to addpublic T shortRunningThreads(List<ShortRunningThreads> value)
value - List of ShortRunningThreads objects.public T shortRunningThreads(ShortRunningThreads value)
value - The ShortRunningThreads to addCopyright © 2015 JBoss by Red Hat. All rights reserved.