public class Transport<T extends Transport<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Transport.TransportResources
Child mutators for Transport
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
defaultExecutor()
Deprecated.
Deprecated. Supports EAP 6.x slaves.
|
T |
defaultExecutor(String value)
Deprecated.
Deprecated. Supports EAP 6.x slaves.
|
T |
defaultThreadPool()
A thread pool executor
|
T |
defaultThreadPool(DefaultThreadPool value)
A thread pool executor
|
T |
defaultThreadPool(DefaultThreadPoolConsumer consumer)
A thread pool executor
|
T |
defaultThreadPool(DefaultThreadPoolSupplier supplier)
A thread pool executor
|
String |
diagnosticsSocketBinding()
The diagnostics socket binding specification for this protocol layer,
used to specify IP interfaces and ports for communication.
|
T |
diagnosticsSocketBinding(String value)
The diagnostics socket binding specification for this protocol layer,
used to specify IP interfaces and ports for communication.
|
String |
getKey() |
T |
internalThreadPool()
A thread pool executor
|
T |
internalThreadPool(InternalThreadPool value)
A thread pool executor
|
T |
internalThreadPool(InternalThreadPoolConsumer consumer)
A thread pool executor
|
T |
internalThreadPool(InternalThreadPoolSupplier supplier)
A thread pool executor
|
String |
machine()
The machine (i.e.
|
T |
machine(String value)
The machine (i.e.
|
String |
module()
The module with which to resolve the protocol type.
|
T |
module(String value)
The module with which to resolve the protocol type.
|
String |
oobExecutor()
Deprecated.
Deprecated. Supports EAP 6.x slaves.
|
T |
oobExecutor(String value)
Deprecated.
Deprecated. Supports EAP 6.x slaves.
|
T |
oobThreadPool()
A thread pool executor
|
T |
oobThreadPool(OobThreadPool value)
A thread pool executor
|
T |
oobThreadPool(OobThreadPoolConsumer consumer)
A thread pool executor
|
T |
oobThreadPool(OobThreadPoolSupplier supplier)
A thread pool executor
|
Map |
properties()
The properties of this protocol.
|
T |
properties(List<Property> value)
Add all Property objects to this subresource
|
T |
properties(Map value)
The properties of this protocol.
|
T |
property(Property value)
Add the Property object to the list of subresources
|
T |
property(PropertySupplier supplier)
Install a supplied Property object to the list of subresources
|
T |
property(String childKey)
Create and configure a Property object to the list of subresources
|
T |
property(String key,
Object value)
The properties of this protocol.
|
T |
property(String childKey,
PropertyConsumer consumer)
Create and configure a Property object to the list of subresources
|
String |
rack()
The rack (i.e.
|
T |
rack(String value)
The rack (i.e.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
shared()
Deprecated.
Deprecated. Transport sharing is now achieved by using fork
channels.
|
T |
shared(Boolean value)
Deprecated.
Deprecated. Transport sharing is now achieved by using fork
channels.
|
String |
site()
The site (i.e.
|
T |
site(String value)
The site (i.e.
|
String |
socketBinding()
Defines the bind address/port used of the server socket used to receive
messages from other cluster members.
|
T |
socketBinding(String value)
Defines the bind address/port used of the server socket used to receive
messages from other cluster members.
|
Boolean |
statisticsEnabled()
Indicates whether or not this protocol will collect statistics overriding
stack configuration.
|
T |
statisticsEnabled(Boolean value)
Indicates whether or not this protocol will collect statistics overriding
stack configuration.
|
Transport.TransportResources |
subresources() |
String |
threadFactory()
Deprecated.
Deprecated. Supports EAP 6.x slaves.
|
T |
threadFactory(String value)
Deprecated.
Deprecated. Supports EAP 6.x slaves.
|
String |
timerExecutor()
Deprecated.
Deprecated. Supports EAP 6.x slaves.
|
T |
timerExecutor(String value)
Deprecated.
Deprecated. Supports EAP 6.x slaves.
|
T |
timerThreadPool()
A thread pool executor
|
T |
timerThreadPool(TimerThreadPool value)
A thread pool executor
|
T |
timerThreadPool(TimerThreadPoolConsumer consumer)
A thread pool executor
|
T |
timerThreadPool(TimerThreadPoolSupplier supplier)
A thread pool executor
|
public Transport(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Transport.TransportResources subresources()
public T properties(List<Property> value)
value
- List of Property objects.public T property(Property value)
value
- The Property to addpublic T property(String childKey, PropertyConsumer consumer)
key
- The key for the Property resourceconfig
- The PropertyConsumer to usepublic T property(String childKey)
key
- The key for the Property resourcepublic T property(PropertySupplier supplier)
public T oobThreadPool(OobThreadPool value)
public T oobThreadPool(OobThreadPoolConsumer consumer)
public T oobThreadPool()
public T oobThreadPool(OobThreadPoolSupplier supplier)
public T internalThreadPool(InternalThreadPool value)
public T internalThreadPool(InternalThreadPoolConsumer consumer)
public T internalThreadPool()
public T internalThreadPool(InternalThreadPoolSupplier supplier)
public T defaultThreadPool(DefaultThreadPool value)
public T defaultThreadPool(DefaultThreadPoolConsumer consumer)
public T defaultThreadPool()
public T defaultThreadPool(DefaultThreadPoolSupplier supplier)
public T timerThreadPool(TimerThreadPool value)
public T timerThreadPool(TimerThreadPoolConsumer consumer)
public T timerThreadPool()
public T timerThreadPool(TimerThreadPoolSupplier supplier)
@Deprecated public String defaultExecutor()
@Deprecated public T defaultExecutor(String value)
public String diagnosticsSocketBinding()
public T diagnosticsSocketBinding(String value)
public String machine()
public T machine(String value)
public String module()
@Deprecated public String oobExecutor()
@Deprecated public T oobExecutor(String value)
public Map properties()
public String rack()
public T rack(String value)
@Deprecated public Boolean shared()
@Deprecated public T shared(Boolean value)
public String site()
public T site(String value)
public String socketBinding()
public T socketBinding(String value)
public Boolean statisticsEnabled()
public T statisticsEnabled(Boolean value)
@Deprecated public String threadFactory()
@Deprecated public T threadFactory(String value)
@Deprecated public String timerExecutor()
@Deprecated public T timerExecutor(String value)
Copyright © 2019 JBoss by Red Hat. All rights reserved.