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
|
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.
|
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()
If true, the underlying transport is shared by all channels using this
stack.
|
T |
shared(Boolean value)
If true, the underlying transport is shared by all channels using this
stack.
|
String |
site()
The site (i.e.
|
T |
site(String value)
The site (i.e.
|
String |
socketBinding()
The socket binding specification for this protocol layer, used to specify
IP interfaces and ports for communication.
|
T |
socketBinding(String value)
The socket binding specification for this protocol layer, used to specify
IP interfaces and ports for communication.
|
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() |
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)
public String diagnosticsSocketBinding()
public T diagnosticsSocketBinding(String value)
public String machine()
public T machine(String value)
public String module()
public Map properties()
public String rack()
public T rack(String value)
public Boolean shared()
public T shared(Boolean value)
public String site()
public T site(String value)
public String socketBinding()
public T socketBinding(String value)
public Boolean statisticsEnabled()
Copyright © 2019 JBoss by Red Hat. All rights reserved.