public class 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() |
DistributedWorkmanager |
longRunningThreads(List<LongRunningThreads> value)
Add all org.wildfly.swarm.config.jca.LongRunningThreads objects to this subresource
|
DistributedWorkmanager |
longRunningThreads(LongRunningThreads value)
Add the org.wildfly.swarm.config.jca.LongRunningThreads object to the list of subresources
|
String |
name()
The name of the DistributedWorkManager
|
DistributedWorkmanager |
name(String value)
The name of the DistributedWorkManager
|
String |
policy()
The policy decides when to redistribute a Work instance
|
DistributedWorkmanager |
policy(String value)
The policy decides when to redistribute a Work instance
|
Map |
policyOptions()
List of policy's options key/value pairs
|
DistributedWorkmanager |
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
|
DistributedWorkmanager |
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
|
DistributedWorkmanager |
selectorOptions(Map value)
List of selector's options key/value pairs
|
DistributedWorkmanager |
shortRunningThreads(List<ShortRunningThreads> value)
Add all org.wildfly.swarm.config.jca.ShortRunningThreads objects to this subresource
|
DistributedWorkmanager |
shortRunningThreads(ShortRunningThreads value)
Add the org.wildfly.swarm.config.jca.ShortRunningThreads object to the list of subresources
|
DistributedWorkmanager.DistributedWorkmanagerResources |
subresources() |
public DistributedWorkmanager(String key)
public String getKey()
public String name()
public DistributedWorkmanager name(String value)
public String policy()
public DistributedWorkmanager policy(String value)
public Map policyOptions()
public DistributedWorkmanager policyOptions(Map value)
public String selector()
public DistributedWorkmanager selector(String value)
public Map selectorOptions()
public DistributedWorkmanager selectorOptions(Map value)
public DistributedWorkmanager.DistributedWorkmanagerResources subresources()
public DistributedWorkmanager longRunningThreads(List<LongRunningThreads> value)
value - List of org.wildfly.swarm.config.jca.LongRunningThreads objects.public DistributedWorkmanager longRunningThreads(LongRunningThreads value)
value - The org.wildfly.swarm.config.jca.LongRunningThreads to addpublic DistributedWorkmanager shortRunningThreads(List<ShortRunningThreads> value)
value - List of org.wildfly.swarm.config.jca.ShortRunningThreads objects.public DistributedWorkmanager shortRunningThreads(ShortRunningThreads value)
value - The org.wildfly.swarm.config.jca.ShortRunningThreads to addCopyright © 2015 JBoss by Red Hat. All rights reserved.