public class JGroups<T extends JGroups<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JGroups.JGroupsResources
Child mutators for JGroups
|
Constructor and Description |
---|
JGroups() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
channel(Channel value)
Add the Channel object to the list of subresources
|
T |
channel(ChannelSupplier supplier)
Install a supplied Channel object to the list of subresources
|
T |
channel(String childKey)
Create and configure a Channel object to the list of subresources
|
T |
channel(String childKey,
ChannelConsumer consumer)
Create and configure a Channel object to the list of subresources
|
T |
channels(List<Channel> value)
Add all Channel objects to this subresource
|
String |
defaultChannel()
The default JGroups channel.
|
T |
defaultChannel(String value)
The default JGroups channel.
|
String |
defaultStack()
The default JGroups protocol stack.
|
T |
defaultStack(String value)
The default JGroups protocol stack.
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
stack(Stack value)
Add the Stack object to the list of subresources
|
T |
stack(StackSupplier supplier)
Install a supplied Stack object to the list of subresources
|
T |
stack(String childKey)
Create and configure a Stack object to the list of subresources
|
T |
stack(String childKey,
StackConsumer consumer)
Create and configure a Stack object to the list of subresources
|
T |
stacks(List<Stack> value)
Add all Stack objects to this subresource
|
JGroups.JGroupsResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public JGroups.JGroupsResources subresources()
public T stacks(List<Stack> value)
value
- List of Stack objects.public T stack(Stack value)
value
- The Stack to addpublic T stack(String childKey, StackConsumer consumer)
key
- The key for the Stack resourceconfig
- The StackConsumer to usepublic T stack(String childKey)
key
- The key for the Stack resourcepublic T stack(StackSupplier supplier)
public T channels(List<Channel> value)
value
- List of Channel objects.public T channel(Channel value)
value
- The Channel to addpublic T channel(String childKey, ChannelConsumer consumer)
key
- The key for the Channel resourceconfig
- The ChannelConsumer to usepublic T channel(String childKey)
key
- The key for the Channel resourcepublic T channel(ChannelSupplier supplier)
public String defaultChannel()
public String defaultStack()
Copyright © 2019 JBoss by Red Hat. All rights reserved.