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 org.wildfly.swarm.config.jca.LongRunningThreads objects to this subresource
|
T |
longRunningThreads(LongRunningThreads value)
Add the org.wildfly.swarm.config.jca.LongRunningThreads object to the list of subresources
|
T |
longRunningThreads(String childKey)
Create and configure a org.wildfly.swarm.config.jca.LongRunningThreads object to the list of subresources
|
T |
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
|
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
|
T |
policyOption(String key,
Object value)
List of policy's options key/value pairs
|
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
|
T |
selectorOption(String key,
Object value)
List of selector's options key/value pairs
|
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 org.wildfly.swarm.config.jca.ShortRunningThreads objects to this subresource
|
T |
shortRunningThreads(ShortRunningThreads value)
Add the org.wildfly.swarm.config.jca.ShortRunningThreads object to the list of subresources
|
T |
shortRunningThreads(String childKey)
Create and configure a org.wildfly.swarm.config.jca.ShortRunningThreads object to the list of subresources
|
T |
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 String policy()
public Map policyOptions()
public T policyOption(String key, Object value)
public String selector()
public T selector(String value)
public Map selectorOptions()
public T selectorOption(String key, Object value)
public DistributedWorkmanager.DistributedWorkmanagerResources subresources()
public T longRunningThreads(List<LongRunningThreads> value)
value - List of org.wildfly.swarm.config.jca.LongRunningThreads objects.public T longRunningThreads(LongRunningThreads value)
value - The org.wildfly.swarm.config.jca.LongRunningThreads to addpublic T 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 T longRunningThreads(String childKey)
key - The key for the org.wildfly.swarm.config.jca.LongRunningThreads resourcepublic T shortRunningThreads(List<ShortRunningThreads> value)
value - List of org.wildfly.swarm.config.jca.ShortRunningThreads objects.public T shortRunningThreads(ShortRunningThreads value)
value - The org.wildfly.swarm.config.jca.ShortRunningThreads to addpublic T 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 useCopyright © 2015 JBoss by Red Hat. All rights reserved.