public class Remoting<T extends Remoting<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Remoting.RemotingResources
Child mutators for Remoting
|
Constructor and Description |
---|
Remoting() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
connector(Connector value)
Add the Connector object to the list of subresources
|
T |
connector(ConnectorSupplier supplier)
Install a supplied Connector object to the list of subresources
|
T |
connector(String childKey)
Create and configure a Connector object to the list of subresources
|
T |
connector(String childKey,
ConnectorConsumer consumer)
Create and configure a Connector object to the list of subresources
|
T |
connectors(List<Connector> value)
Add all Connector objects to this subresource
|
T |
endpointConfiguration()
Endpoint configuration
|
T |
endpointConfiguration(EndpointConfiguration value)
Endpoint configuration
|
T |
endpointConfiguration(EndpointConfigurationConsumer consumer)
Endpoint configuration
|
T |
endpointConfiguration(EndpointConfigurationSupplier supplier)
Endpoint configuration
|
String |
getKey() |
T |
httpConnector(HTTPConnector value)
Add the HTTPConnector object to the list of subresources
|
T |
httpConnector(HTTPConnectorSupplier supplier)
Install a supplied HTTPConnector object to the list of subresources
|
T |
httpConnector(String childKey)
Create and configure a HTTPConnector object to the list of subresources
|
T |
httpConnector(String childKey,
HTTPConnectorConsumer consumer)
Create and configure a HTTPConnector object to the list of subresources
|
T |
httpConnectors(List<HTTPConnector> value)
Add all HTTPConnector objects to this subresource
|
T |
localOutboundConnection(LocalOutboundConnection value)
Add the LocalOutboundConnection object to the list of subresources
|
T |
localOutboundConnection(LocalOutboundConnectionSupplier supplier)
Install a supplied LocalOutboundConnection object to the list of
subresources
|
T |
localOutboundConnection(String childKey)
Create and configure a LocalOutboundConnection object to the list of
subresources
|
T |
localOutboundConnection(String childKey,
LocalOutboundConnectionConsumer consumer)
Create and configure a LocalOutboundConnection object to the list of
subresources
|
T |
localOutboundConnections(List<LocalOutboundConnection> value)
Add all LocalOutboundConnection objects to this subresource
|
T |
outboundConnection(OutboundConnection value)
Add the OutboundConnection object to the list of subresources
|
T |
outboundConnection(OutboundConnectionSupplier supplier)
Install a supplied OutboundConnection object to the list of subresources
|
T |
outboundConnection(String childKey)
Create and configure a OutboundConnection object to the list of
subresources
|
T |
outboundConnection(String childKey,
OutboundConnectionConsumer consumer)
Create and configure a OutboundConnection object to the list of
subresources
|
T |
outboundConnections(List<OutboundConnection> value)
Add all OutboundConnection objects to this subresource
|
T |
remoteOutboundConnection(RemoteOutboundConnection value)
Add the RemoteOutboundConnection object to the list of subresources
|
T |
remoteOutboundConnection(RemoteOutboundConnectionSupplier supplier)
Install a supplied RemoteOutboundConnection object to the list of
subresources
|
T |
remoteOutboundConnection(String childKey)
Create and configure a RemoteOutboundConnection object to the list of
subresources
|
T |
remoteOutboundConnection(String childKey,
RemoteOutboundConnectionConsumer consumer)
Create and configure a RemoteOutboundConnection object to the list of
subresources
|
T |
remoteOutboundConnections(List<RemoteOutboundConnection> value)
Add all RemoteOutboundConnection objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Remoting.RemotingResources |
subresources() |
Integer |
workerReadThreads()
The number of read threads to create for the remoting worker.
|
T |
workerReadThreads(Integer value)
The number of read threads to create for the remoting worker.
|
Integer |
workerTaskCoreThreads()
The number of core threads for the remoting worker task thread pool.
|
T |
workerTaskCoreThreads(Integer value)
The number of core threads for the remoting worker task thread pool.
|
Integer |
workerTaskKeepalive()
The number of milliseconds to keep non-core remoting worker task threads
alive.
|
T |
workerTaskKeepalive(Integer value)
The number of milliseconds to keep non-core remoting worker task threads
alive.
|
Integer |
workerTaskLimit()
The maximum number of remoting worker tasks to allow before rejecting.
|
T |
workerTaskLimit(Integer value)
The maximum number of remoting worker tasks to allow before rejecting.
|
Integer |
workerTaskMaxThreads()
The maximum number of threads for the remoting worker task thread pool.
|
T |
workerTaskMaxThreads(Integer value)
The maximum number of threads for the remoting worker task thread pool.
|
Integer |
workerWriteThreads()
The number of write threads to create for the remoting worker.
|
T |
workerWriteThreads(Integer value)
The number of write threads to create for the remoting worker.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Remoting.RemotingResources subresources()
public T httpConnectors(List<HTTPConnector> value)
value
- List of HTTPConnector objects.public T httpConnector(HTTPConnector value)
value
- The HTTPConnector to addpublic T httpConnector(String childKey, HTTPConnectorConsumer consumer)
key
- The key for the HTTPConnector resourceconfig
- The HTTPConnectorConsumer to usepublic T httpConnector(String childKey)
key
- The key for the HTTPConnector resourcepublic T httpConnector(HTTPConnectorSupplier supplier)
public T connectors(List<Connector> value)
value
- List of Connector objects.public T connector(Connector value)
value
- The Connector to addpublic T connector(String childKey, ConnectorConsumer consumer)
key
- The key for the Connector resourceconfig
- The ConnectorConsumer to usepublic T connector(String childKey)
key
- The key for the Connector resourcepublic T connector(ConnectorSupplier supplier)
public T outboundConnections(List<OutboundConnection> value)
value
- List of OutboundConnection objects.public T outboundConnection(OutboundConnection value)
value
- The OutboundConnection to addpublic T outboundConnection(String childKey, OutboundConnectionConsumer consumer)
key
- The key for the OutboundConnection resourceconfig
- The OutboundConnectionConsumer to usepublic T outboundConnection(String childKey)
key
- The key for the OutboundConnection resourcepublic T outboundConnection(OutboundConnectionSupplier supplier)
public T localOutboundConnections(List<LocalOutboundConnection> value)
value
- List of LocalOutboundConnection objects.public T localOutboundConnection(LocalOutboundConnection value)
value
- The LocalOutboundConnection to addpublic T localOutboundConnection(String childKey, LocalOutboundConnectionConsumer consumer)
key
- The key for the LocalOutboundConnection resourceconfig
- The LocalOutboundConnectionConsumer to usepublic T localOutboundConnection(String childKey)
key
- The key for the LocalOutboundConnection resourcepublic T localOutboundConnection(LocalOutboundConnectionSupplier supplier)
public T remoteOutboundConnections(List<RemoteOutboundConnection> value)
value
- List of RemoteOutboundConnection objects.public T remoteOutboundConnection(RemoteOutboundConnection value)
value
- The RemoteOutboundConnection to addpublic T remoteOutboundConnection(String childKey, RemoteOutboundConnectionConsumer consumer)
key
- The key for the RemoteOutboundConnection resourceconfig
- The RemoteOutboundConnectionConsumer to usepublic T remoteOutboundConnection(String childKey)
key
- The key for the RemoteOutboundConnection resourcepublic T remoteOutboundConnection(RemoteOutboundConnectionSupplier supplier)
public T endpointConfiguration(EndpointConfiguration value)
public T endpointConfiguration(EndpointConfigurationConsumer consumer)
public T endpointConfiguration()
public T endpointConfiguration(EndpointConfigurationSupplier supplier)
public Integer workerReadThreads()
public T workerReadThreads(Integer value)
public Integer workerTaskCoreThreads()
public T workerTaskCoreThreads(Integer value)
public Integer workerTaskKeepalive()
public T workerTaskKeepalive(Integer value)
public Integer workerTaskLimit()
public T workerTaskLimit(Integer value)
public Integer workerTaskMaxThreads()
public T workerTaskMaxThreads(Integer value)
public Integer workerWriteThreads()
Copyright © 2018 JBoss by Red Hat. All rights reserved.