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() |
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
|
DistributedWorkmanager |
longRunningThreads(String childKey)
Create and configure a org.wildfly.swarm.config.jca.LongRunningThreads object to the list of subresources
|
DistributedWorkmanager |
longRunningThreads(String childKey,
LongRunningThreadsConfigurator config)
Create and configure a 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 |
shortRunningThreads(String childKey)
Create and configure a org.wildfly.swarm.config.jca.ShortRunningThreads object to the list of subresources
|
DistributedWorkmanager |
shortRunningThreads(String childKey,
ShortRunningThreadsConfigurator config)
Create and configure a 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 longRunningThreads(String childKey, LongRunningThreadsConfigurator config)
key - The key for the org.wildfly.swarm.config.jca.LongRunningThreads resourceconfig - The org.wildfly.swarm.config.jca.LongRunningThreadsConfigurator to usepublic DistributedWorkmanager longRunningThreads(String childKey)
key - The key for the org.wildfly.swarm.config.jca.LongRunningThreads resourcepublic 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 addpublic DistributedWorkmanager shortRunningThreads(String childKey, ShortRunningThreadsConfigurator config)
key - The key for the org.wildfly.swarm.config.jca.ShortRunningThreads resourceconfig - The org.wildfly.swarm.config.jca.ShortRunningThreadsConfigurator to usepublic DistributedWorkmanager shortRunningThreads(String childKey)
key - The key for the org.wildfly.swarm.config.jca.ShortRunningThreads resourceCopyright © 2015 JBoss by Red Hat. All rights reserved.