Skip navigation links
A B C D E F H I J L M N O P Q R S T V 

A

AbstractBuilder() - Constructor for class net.sf.eBus.config.EConfigure.AbstractBuilder
Creates a new abstract configuration builder.
AbstractConfig(EConfigure.AbstractBuilder<?>) - Constructor for class net.sf.eBus.config.EConfigure.AbstractConfig
Constructs the common information for service and remote connections.
add(InetSocketAddress) - Method in class net.sf.eBus.config.AddressFilter
Adds the address to the filter set.
addAll(Collection<InetSocketAddress>) - Method in class net.sf.eBus.config.AddressFilter
Adds all the addresses in the collection to this set.
address(InetSocketAddress) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Set the connection address.
address() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the remote eBus socket address.
AddressFilter - Class in net.sf.eBus.config
Stores a set of InetSocketAddresses and determines if a given address passes the filter.
AddressFilter() - Constructor for class net.sf.eBus.config.AddressFilter
Creates an empty address filter.
AddressFilter(Collection<InetSocketAddress>) - Constructor for class net.sf.eBus.config.AddressFilter
Creates a new address filter containing those elements in the specified collection.
addressFilter(AddressFilter) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the optional service address filter.
addressFilter() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the address filter.
ANY_PORT - Static variable in class net.sf.eBus.config.ENetConfigure
Use the value 0 to specify socket is opened and bound to any port.
asText() - Static method in class net.sf.eBus.config.ENetConfigure
Returns the loaded network configuration as text.

B

BIND_PORT_KEY - Static variable in class net.sf.eBus.config.EConfigure
The connection definition uses the "bindPort" key suffix.
bindPort(int) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Bind the connection local port to this value.
bindPort() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the connection bind port.
build() - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Returns the eBus connection configuration built from the previously set parameters.
build() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns the eBus Dispatcher configuration built from the previously set parameters.
build() - Method in class net.sf.eBus.config.EConfigure.PauseBuilder
Returns the pause configuration created from the configured parameters.
build() - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Returns the eBus service configuration built from the previously set parameters.
build() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfoBuilder
Returns the ENetConfigure.SelectorInfo instance created from the configuration settings.
BYTE_ORDER_KEY - Static variable in class net.sf.eBus.config.EConfigure
Both the service and connection definitions use the "byteOrder" key suffix.
byteOrder(ByteOrder) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the byte order used by the connection.
byteOrder() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns connection buffer byte ordering.

C

CAN_PAUSE_KEY - Static variable in class net.sf.eBus.config.EConfigure
If a remote client connection may be paused, then this property is defined and set to true.
canPause(boolean) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets a flag specifying whether accepted connections may be paused (true) or not.
canPause() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns true if pause requests are accepted and false if not.
classes() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the classes assigned to this dispatcher.
classes(Class<?>[]) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Lists the classes assigned to the dispatcher.
CLASSES_KEY - Static variable in class net.sf.eBus.config.EConfigure
The key "classes" defines the classes which are posted to this dispatcher.
clear() - Method in class net.sf.eBus.config.AddressFilter
Removes all addresses from this filter.
compare(InetAddress, InetAddress) - Method in class net.sf.eBus.config.InetAddressComparator
Returns an integer <, equal to or > zero if a1 is <, equal to or > a2.
compare(InetSocketAddress, InetSocketAddress) - Method in class net.sf.eBus.config.InetSocketAddressComparator
Returns an integer <, equal to or > zero if a1 is <, equal to or > a2.
compareTo(EConfigure.Dispatcher) - Method in class net.sf.eBus.config.EConfigure.Dispatcher
 
compareTo(EConfigure.RemoteConnection) - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Compares this remote connection configuration with conn.
compareTo(EConfigure.Service) - Method in class net.sf.eBus.config.EConfigure.Service
Compares this service configuration with service based on the service ports.
compareTo(ENetConfigure.SelectorInfo) - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Compares this object with the specified selector.
CONFIG_FILE_ENV - Static variable in class net.sf.eBus.config.EConfigure
Use -D to set system property "net.sf.eBus.config.file" to point to the eBus configuration property file.
configuration(EConfigure.AbstractConfig) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Copies the values found in config to this configuration.
configuration(EConfigure.RemoteConnection) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Copies in the settings from config to this builder.
configuration(EConfigure.Dispatcher) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Copies in the settings from config to this builder.
configuration(EConfigure.Service) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Copies in the settings from config to this builder.
CONN_SELECTOR_KEY - Static variable in class net.sf.eBus.config.EConfigure
The service definition uses the key suffix "connectionSelector" to define the selector used to monitor TCP socket channels accepted by the service socket.
CONN_TYPE_KEY - Static variable in class net.sf.eBus.config.EConfigure
Both service and connection definitions use the "connectionType" to define the connection protocol type.
connection(String) - Method in class net.sf.eBus.config.EConfigure
 
CONNECTION_PREFIX - Static variable in class net.sf.eBus.config.EConfigure
Remote connection keys are prefixed by "eBus.connection." and followed by the connection name as found in EConfigure.CONNECTIONS_KEY.
connectionBuilder() - Static method in class net.sf.eBus.config.EConfigure
Returns a new EConfigure.ConnectionBuilder instance used to construct a ERemoteApp programmatically.
CONNECTIONS_KEY - Static variable in class net.sf.eBus.config.EConfigure
The key "connections" contains a comma-separated list of remote connection names.
connectionSelector(String) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the selector used for accepted TCP connections.
connectionSelector() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the selector information to which accepted connections are registered.
connectionType(EConfigure.ConnectionType) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the underlying channel type.
connectionType() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns the channel type.
contains(InetSocketAddress) - Method in class net.sf.eBus.config.AddressFilter
Returns true if this address filter contains the specified address; otherwise returns false.
create(Map<String, EConfigure.Service>, Map<String, EConfigure.RemoteConnection>, Map<String, EConfigure.Dispatcher>) - Static method in class net.sf.eBus.config.EConfigure
Creates an eBus configuration for the given service and remote connections.

D

DEFAULT_BUFFER_SIZE - Static variable in class net.sf.eBus.config.ENetConfigure
The default input and output socket buffer size is 2048 bytes.
DEFAULT_HEARTBEAT_DELAY - Static variable in class net.sf.eBus.config.EConfigure
By default heart-beating is turned off.
DEFAULT_HEARTBEAT_REPLY_DELAY - Static variable in class net.sf.eBus.config.EConfigure
By default wait indefinitely for a heartbeat reply.
DEFAULT_KEY - Static variable in class net.sf.eBus.config.EConfigure
The boolean "isDefault" property is used to specify when this dispatcher should be used as the default dispatcher.
DEFAULT_KEY - Static variable in class net.sf.eBus.config.ENetConfigure
The boolean "isDefault" property is used to specify when this selector thread should be used as the default selector thread.
DEFAULT_NUMBER_THREADS - Static variable in class net.sf.eBus.config.EConfigure
The default dispatcher thread count is 4.
DEFAULT_PARK_TIME - Static variable in class net.sf.eBus.config.EConfigure
The default park time after spinning is 1000 nanoseconds.
DEFAULT_PARK_TIME - Static variable in class net.sf.eBus.config.ENetConfigure
The default thread park time is 1000 nanoseconds.
DEFAULT_PRIORITY - Static variable in class net.sf.eBus.config.EConfigure
The default dispatcher thread priority is 5.
DEFAULT_PRIORITY - Static variable in class net.sf.eBus.config.ENetConfigure
The default selector thread priority is normal.
DEFAULT_QUANTUM - Static variable in class net.sf.eBus.config.EConfigure
The default run quantum is 500000 nanoseconds.
DEFAULT_QUEUE_SIZE - Static variable in class net.sf.eBus.config.EConfigure
This value specifies that there is no limit to the transmit queue size.
DEFAULT_RECONNECT_FLAG - Static variable in class net.sf.eBus.config.EConfigure
By default a lost connection is not reconnected.
DEFAULT_RECONNECT_TIME - Static variable in class net.sf.eBus.config.EConfigure
The default reconnect time is 5 seconds.
DEFAULT_SELECTOR - Static variable in class net.sf.eBus.config.EConfigure
The default selector thread name.
DEFAULT_SELECTOR_TYPE - Static variable in class net.sf.eBus.config.ENetConfigure
The default selector type is ThreadType.BLOCKING.
DEFAULT_SPIN_LIMIT - Static variable in class net.sf.eBus.config.EConfigure
The default spin limit is 2500000 calls to Queue.poll() before parking or yielding.
DEFAULT_SPIN_LIMIT - Static variable in class net.sf.eBus.config.ENetConfigure
The default select spin limit is 2500000 calls to Selector.selectNow() before parking the thread.
DEFAULT_THREAD_TYPE - Static variable in class net.sf.eBus.config.EConfigure
The default Dispatcher thread type is ThreadType.BLOCKING.
defaultSelector() - Static method in class net.sf.eBus.config.ENetConfigure
 
DISCARD_POLICY_KEY - Static variable in class net.sf.eBus.config.EConfigure
When the maximum message backlog limit is breached, then this policy defines which messages should be discarded.
discardPolicy(EConfigure.DiscardPolicy) - Method in class net.sf.eBus.config.EConfigure.PauseBuilder
Sets the backlog discard policy and returns this pause configuration builder.
discardPolicy() - Method in class net.sf.eBus.config.EConfigure.PauseConfig
Returns the message discard policy used when the maximum message backlog size is breached.
DISPATCHER_PREFIX - Static variable in class net.sf.eBus.config.EConfigure
Dispatcher keys are prefixed by "dispatcher." and followed by the dispatcher name as found in EConfigure.DISPATCHERS_KEY.
DISPATCHER_TYPE_KEY - Static variable in class net.sf.eBus.config.EConfigure
The EConfigure.DispatcherType "dispatcherType" property is used to specify the dispatcher thread type.
dispatcherBuilder() - Static method in class net.sf.eBus.config.EConfigure
Returns a new EConfigure.DispatcherBuilder instance used to construct a EConfigure.Dispatcher.
dispatchers() - Method in class net.sf.eBus.config.EConfigure
Returns the set of client dispatcher configurations.
DISPATCHERS_KEY - Static variable in class net.sf.eBus.config.EConfigure
The key "dispatchers" contains a comma-separated list of unique, client dispatcher names.
dispatcherType(EConfigure.DispatcherType) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Sets the dispatcher type.
dispatchHandle() - Method in enum net.sf.eBus.config.EConfigure.DispatcherType
Returns the task dispatch method handle.
dispatchType() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the dispatch method type.
duration(Duration) - Method in class net.sf.eBus.config.EConfigure.PauseBuilder
Sets the pause duration and returns this pause configuration builder.
duration() - Method in class net.sf.eBus.config.EConfigure.PauseConfig
Returns the maximum allowed pause duration.

E

EBUS_KEY - Static variable in class net.sf.eBus.config.EConfigure
All properties keys are prefixed with "eBus".
EConfigure - Class in net.sf.eBus.config
This immutable class contains eBus services, remote connection, dispatcher, and pause configuration.
EConfigure.AbstractBuilder<T extends EConfigure.AbstractBuilder> - Class in net.sf.eBus.config
Base class for EConfigure.ServerBuilder and EConfigure.ConnectionBuilder, containing the properties common to both.
EConfigure.AbstractConfig - Class in net.sf.eBus.config
Base class for service and remote connections.
EConfigure.ConnectionBuilder - Class in net.sf.eBus.config
Constructs an EConfigure.RemoteConnection instance based on the parameters set via the builder's API.
EConfigure.ConnectionRole - Enum in net.sf.eBus.config
Defines remote connection side, either acceptor or initiator.
EConfigure.ConnectionType - Enum in net.sf.eBus.config
Enumerates the channel types supported by eBus ERemoteApp.
EConfigure.DiscardPolicy - Enum in net.sf.eBus.config
When a connection is paused and the server message backlog breaches the maximum allowed message backlog limit, this policy specifies which messages should be discarded to keep the backlog at the limit.
EConfigure.Dispatcher - Class in net.sf.eBus.config
An application may create dispatch threads with a given unique name and the following parameters: Thread priority: minimum, maximum, or normal thread priority.
EConfigure.DispatcherBuilder - Class in net.sf.eBus.config
Constructs an EConfigure.Dispatcher configuration instance based on the parameters set via the builder's API.
EConfigure.DispatcherType - Enum in net.sf.eBus.config
Enumerates the supported eBus dispatcher thread types.
EConfigure.PauseBuilder - Class in net.sf.eBus.config
Constructs a EConfigure.PauseConfig instance based on the parameters set via the builder API.
EConfigure.PauseConfig - Class in net.sf.eBus.config
If a remote connection may be paused, then this is the allowed pause configuration.
EConfigure.RemoteConnection - Class in net.sf.eBus.config
This immutable class stores the information pertaining to a remote eBus connection.
EConfigure.ServerBuilder - Class in net.sf.eBus.config
Constructs an EConfigure.Service instance based on the parameters set via this builder's API.
EConfigure.Service - Class in net.sf.eBus.config
This immutable class stores the configuration for an eBus service.
ENetConfigure - Class in net.sf.eBus.config
This immutable class contains selector thread configuration extracted from properties.
ENetConfigure.SelectorInfo - Class in net.sf.eBus.config
This immutable class contains the selector thread configuration for the named selector.
ENetConfigure.SelectorInfoBuilder - Class in net.sf.eBus.config
Constructs an ENetConfigure.SelectorInfo instance based on the parameters set via the builder's API.
equals(Object) - Method in class net.sf.eBus.config.AddressFilter
Compares the given object with this filter for equality.
equals(Object) - Method in class net.sf.eBus.config.EConfigure.Dispatcher
 
equals(Object) - Method in class net.sf.eBus.config.EConfigure
Returns true if o is a non-null EConfigure instance with the same settings; returns false otherwise.
equals(Object) - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns true if o is a non-null RemoteConnection instance with the same name; false otherwise.
equals(Object) - Method in class net.sf.eBus.config.EConfigure.Service
Returns true if o is a Service instance with the same port and false otherwise.
equals(Object) - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns true if this object equals o and false otherwise.

F

FILTER_KEY - Static variable in class net.sf.eBus.config.EConfigure
The service definition uses the "addressFilter" key suffix.
find(String) - Static method in enum net.sf.eBus.config.ThreadType
Returns the thread type with a text name equaling s, ignoring case.
findType(String) - Static method in enum net.sf.eBus.config.EConfigure.DispatcherType
Returns the EConfigure.DispatcherType for the given name using case-insensitive string matching.

H

hashCode() - Method in class net.sf.eBus.config.AddressFilter
Returns the hash code value for this set.
hashCode() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
 
hashCode() - Method in class net.sf.eBus.config.EConfigure
Returns the configuration hash code.
hashCode() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the remote connection address hash code.
hashCode() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the service port.
hashCode() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns a hash code for this object.
hasRemoteConnection(String) - Method in class net.sf.eBus.config.EConfigure
Returns true if there is an remote connection defined with the given name.
hasRemoteConnections() - Method in class net.sf.eBus.config.EConfigure
Returns true if remote connections are configured and false if not.
hasService(String) - Method in class net.sf.eBus.config.EConfigure
Returns true if there is an eBus service defined with the given name.
hasServices() - Method in class net.sf.eBus.config.EConfigure
Returns true if at least one service is configured and false otherwise.
HB_DELAY_KEY - Static variable in class net.sf.eBus.config.EConfigure
The connection definition uses the "heartbeatDelay" key suffix.
HB_REPLY_DELAY_KEY - Static variable in class net.sf.eBus.config.EConfigure
The connection definition uses the "heartbeatReplyDelay" key suffix.
heartbeatDelay(long) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the heartbeat delay used for the connection.
heartbeatDelay() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns the heartbeat delay in milliseconds.
heartbeatReplyDelay(long) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the heartbeat reply delay used for the connection.
heartbeatReplyDelay() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns the heartbeat reply delay.
HOST_KEY - Static variable in class net.sf.eBus.config.EConfigure
The connection definition uses the "host" key suffix.

I

IDLE_TIME_KEY - Static variable in class net.sf.eBus.config.EConfigure
When a connection is idle (no messages sent or received) for a given time, that connection is automatically paused.
idleTime(Duration) - Method in class net.sf.eBus.config.EConfigure.PauseBuilder
Sets the idle time duration and returns this pause configuration builder.
idleTime() - Method in class net.sf.eBus.config.EConfigure.PauseConfig
Returns the amount of time wherein no messages are sent or received on the connection before the connection is paused.
INBUFFER_SIZE_KEY - Static variable in class net.sf.eBus.config.EConfigure
Both the service and connection definitions use the "inputBufferSize" key suffix.
InetAddressComparator - Class in net.sf.eBus.config
Compares two InetAddress addresses using the address bytes.
InetAddressComparator() - Constructor for class net.sf.eBus.config.InetAddressComparator
Creates a new instance of InetAddressComparator.
InetSocketAddressComparator - Class in net.sf.eBus.config
Compares two java.net.InetSocketAddress instances based on the address bytes and the TCP port.
InetSocketAddressComparator() - Constructor for class net.sf.eBus.config.InetSocketAddressComparator
Creates a new instance of InetSocketAddressComparator.
inputBufferSize(int) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the input buffer size for the connection.
inputBufferSize() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns the connection input buffer size.
isDefault() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns true if this user-defined dispatcher is the default dispatcher.
isDefault(boolean) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
If flag is true, then marks the dispatcher as the default dispatcher.
isDefault() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns true if this user-defined selector thread is the default selector.
isDefault(boolean) - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfoBuilder
Sets the selector flag marking whether this is the default selector or not.
isEmpty() - Method in class net.sf.eBus.config.AddressFilter
Returns true if this address filter is empty.
isKnownSelector(String) - Static method in class net.sf.eBus.config.ENetConfigure
Returns true if name is a known selector and false if not known.
isSpecial() - Method in enum net.sf.eBus.config.EConfigure.DispatcherType
Returns true if this dispatcher type is a special, non-configurable dispatcher.

J

JSON_FILE_ENV - Static variable in class net.sf.eBus.config.EConfigure
Use -D to set system property "net.sf.eBus.config.jsonFile" to point to the eBus JSON configuration file.

L

load(Config, String) - Static method in class net.sf.eBus.config.AddressFilter
Returns an address filter extracted from the given JSON configuration.
load(Properties) - Static method in class net.sf.eBus.config.EConfigure
Returns the eBus service, remote connection, and dispatcher configurations found in the given properties.
load(Preferences) - Static method in class net.sf.eBus.config.EConfigure
Deprecated.
Preferences-based configuration will be removed at a future date. Please consider moving to the JSON-based configuration file supported by EConfigure.load(com.typesafe.config.Config).
load(Config) - Static method in class net.sf.eBus.config.EConfigure
Returns the eBus service, remote connection, and dispatcher configurations found in the given JSON configuration.
load(Properties) - Static method in class net.sf.eBus.config.ENetConfigure
Returns selector thread configuration extracted from the given properties.
load(Properties) - Static method in class net.sf.eBus.config.ENetConfigure
Returns selector thread configuration extracted from the given properties.
load(Config) - Static method in class net.sf.eBus.config.ENetConfigure
Returns a selector thread configuration extracted from the given JSON properties.
loadConnections(Properties) - Static method in class net.sf.eBus.config.EConfigure
Returns the remote eBus connections found in the properties.
loadConnections(Preferences) - Static method in class net.sf.eBus.config.EConfigure
Deprecated.
Preferences-based configuration will be removed at a future date. Please consider moving to the JSON-based configuration file supported by EConfigure.load(com.typesafe.config.Config).
loadConnections(Config) - Static method in class net.sf.eBus.config.EConfigure
Returns the remote eBus connections found in the preferences.
loadDispatchers(Properties) - Static method in class net.sf.eBus.config.EConfigure
Returns the eBus dispatcher configuration found in the given properties.
loadDispatchers(Preferences) - Static method in class net.sf.eBus.config.EConfigure
Deprecated.
Preferences-based configuration will be removed at a future date. Please consider moving to the JSON-based configuration file supported by EConfigure.load(com.typesafe.config.Config).
loadDispatchers(Config) - Static method in class net.sf.eBus.config.EConfigure
Returns the eBus dispatcher configuration found in the given JSON configuration.
loaderFlag(boolean) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the loader flag to the given value.
loadServices(Properties) - Static method in class net.sf.eBus.config.EConfigure
Extracts the services from the properties, returning the service name to configuration map.
loadServices(Preferences) - Static method in class net.sf.eBus.config.EConfigure
Deprecated.
Preferences-based configuration will be removed at a future date. Please consider moving to the JSON-based configuration file supported by EConfigure.load(com.typesafe.config.Config).
loadServices(Config) - Static method in class net.sf.eBus.config.EConfigure
Returns the eBus TCP services.

M

MAX_BACKLOG_SIZE_KEY - Static variable in class net.sf.eBus.config.EConfigure
Maximum allowed message backlog when paused.
MAX_CONNECT_TIME_KEY - Static variable in class net.sf.eBus.config.EConfigure
Maximum allowed time between pauses, irrespective of connection being busy.
MAX_PORT - Static variable in class net.sf.eBus.config.ENetConfigure
The maximum allowed port number is 65,535.
maxBacklogSize(int) - Method in class net.sf.eBus.config.EConfigure.PauseBuilder
Sets the maximum backlog size and returns this pause configuration builder.
maxBacklogSize() - Method in class net.sf.eBus.config.EConfigure.PauseConfig
Returns the maximum allowed message backlog size.
maxConnectionTime(Duration) - Method in class net.sf.eBus.config.EConfigure.PauseBuilder
Sets the maximum connection time duration and returns this pause configuration builder.
maxConnectTime() - Method in class net.sf.eBus.config.EConfigure.PauseConfig
Returns the maximum time a connection may remain up before being paused.
mByteOrder - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Code and decode messages in this byte order.
mByteOrder - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
The input and output buffer use this byte ordering.
mCanPause - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Set to true if remote connections may be paused.
mCanPause - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
Set to true if accepted connections may be paused.
mConnectionType - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
The connections are of this type.
messageQueueSize(int) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the maximum queue size for the connection.
messageQueueSize() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns the maximum number of messages on the output queue.
mHbDelay - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Send a heartbeat message after this many milliseconds of inbound message inactivity.
mHbDelay - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
Send a heartbeat this many milliseconds after the last received input.
mHbReplyDelay - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
The number of milliseconds the far-end has to respond to a heartbeat.
mHbReplyDelay - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
Wait this many milliseconds for a heartbeat reply.
MIN_PORT - Static variable in class net.sf.eBus.config.ENetConfigure
The minimum allowed port number is zero.
mInputBufferSize - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Maximum input buffer size.
mInputBufferSize - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
Input buffer size.
mLoaderFlag - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Set to true if this builder is used when loading a configuration.
mMsgQueueSize - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Maximum eBus message outbound queue size for remote connections.
mMsgQueueSize - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
Maximum message queue size.
mName - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Unique service or connection name.
mName - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
eBus local name.
mOutputBufferSize - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Maximum output buffer size.
mOutputBufferSize - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
Output buffer size.
mPauseConfig - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Contains the pause parameters.
mPauseConfig - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
If EConfigure.AbstractConfig.mCanPause is true, then the pause configuration is defined.
MSG_QUEUE_SIZE_KEY - Static variable in class net.sf.eBus.config.EConfigure
Both the service and connection definitions use the "messageQueueSize" key suffix.
mSSLContext - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
The SSL/TLS context used for a secure TCP connection.
mSSLContext - Variable in class net.sf.eBus.config.EConfigure.AbstractConfig
If EConfigure.AbstractConfig.mConnectionType is EConfigure.ConnectionType.SECURE_TCP, then this is the SSL context used to secure the connection.

N

name(String) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the service/connection name.
name() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns the remote connection unique name.
name() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the unique dispatcher name.
name(String) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Sets the dispatcher name.
name() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns the unique selector thread name.
name(String) - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfoBuilder
Sets the selector name to the given value.
NAME_KEY - Static variable in class net.sf.eBus.config.EConfigure
Key "name" is used to extract the configuration object's name.
NAME_KEY - Static variable in class net.sf.eBus.config.ENetConfigure
The "name" property is used to specify the unique selector name.
net.sf.eBus.config - package net.sf.eBus.config
Provides classes needed to configure eBus network and eBus core modules.
NUM_THREADS_KEY - Static variable in class net.sf.eBus.config.EConfigure
The dispatcher definition uses "numberThreads" key suffix to specify the number of threads in the dispatcher.
numberThreads() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the number of threads in this dispatcher.
numberThreads(int) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Sets the number of threads used by the run queue.

O

OUTBUFFER_SIZE_KEY - Static variable in class net.sf.eBus.config.EConfigure
Both the service and connection definitions use the "outputBufferSize" key suffix.
outputBufferSize(int) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the output buffer size for the connection.
outputBufferSize() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns the connection output buffer size.

P

PARK_TIME_KEY - Static variable in class net.sf.eBus.config.EConfigure
If the thread type is spin+park, then the integer .parkTime property may be specified.
PARK_TIME_KEY - Static variable in class net.sf.eBus.config.ENetConfigure
If the selector type is spin+park, then the integer "parkTime" property may be specified.
parkTime() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the park time used by spin+park thread type.
parkTime(long) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Sets the ThreadType.SPINPARK nanosecond park time.
parkTime() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns the spin+park nanosecond park time.
parkTime(long) - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfoBuilder
Sets a spin+park selector thread's park time.
parse(String) - Static method in class net.sf.eBus.config.AddressFilter
Returns the address filter parsed from the given text.
passes(InetSocketAddress) - Method in class net.sf.eBus.config.AddressFilter
Returns true if iAddress is acceptable to this filter and false otherwise.
PAUSE_DURATION_KEY - Static variable in class net.sf.eBus.config.EConfigure
The pause duration is stored in "pauseTime".
PAUSE_KEY - Static variable in class net.sf.eBus.config.EConfigure
If EConfigure.CAN_PAUSE_KEY is set to true, then the connection pause parameters are stored under the "pause" key.
pauseBuilder(EConfigure.ConnectionRole) - Static method in class net.sf.eBus.config.EConfigure
Returns a new EConfigure.PauseBuilder instance used to construct a EConfigure.PauseConfig.
pauseConfig(EConfigure.PauseConfig) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Set the pause configuration for the connection.
pauseConfiguration() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns the connection pause configuration.
port(int) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the service TCP port.
port() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the service port.
PORT_KEY - Static variable in class net.sf.eBus.config.EConfigure
Both the service and connection definitions use the "port" key suffix.
priority() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the dispatcher thread priority.
priority(int) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Sets the run queue thread priority.
priority() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns the selector thread priority.
priority(int) - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfoBuilder
Sets the selector thread priority to the given value.
PRIORITY_KEY - Static variable in class net.sf.eBus.config.EConfigure
The integer "priority" property is used to set the dispatcher thread priority.
PRIORITY_KEY - Static variable in class net.sf.eBus.config.ENetConfigure
The integer "priority" property is used to set the select thread priority.
protocol(ProtocolFamily) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
 
protocol() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
 

Q

quantum() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the client run-time quantum assigned by this dispatcher.
quantum(long) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Sets the run quantum assigned to each eBus client.
QUANTUM_KEY - Static variable in class net.sf.eBus.config.EConfigure
The key "quantum" defines the run quantum each client is initially assigned.

R

reconnect(boolean) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the reconnect flag to the given value.
RECONNECT_DELAY_KEY - Static variable in class net.sf.eBus.config.EConfigure
The connection definition uses the "reconnectTime" key suffix.
RECONNECT_KEY - Static variable in class net.sf.eBus.config.EConfigure
The connection definition uses the "reconnect" key suffix.
reconnectDelay(long) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the reconnect delay to the given value.
reconnectFlag() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns true if connection is to be re-established when lost.
reconnectTime() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the reconnect delay.
remoteConnections() - Method in class net.sf.eBus.config.EConfigure
Returns the set of remote eBus connections.
remove(InetSocketAddress) - Method in class net.sf.eBus.config.AddressFilter
Removes the specified address from this filter if it is present.
removeAll(Collection<InetSocketAddress>) - Method in class net.sf.eBus.config.AddressFilter
Removes all the specified addresses from this filter.
RESUME_ON_BACKLOG_SIZE_KEY - Static variable in class net.sf.eBus.config.EConfigure
Resumes the client connection automatically when the transmit queue reaches this size (application messages only).
resumeOnBacklogSize(int) - Method in class net.sf.eBus.config.EConfigure.PauseBuilder
Sets the transmit queue limit which trigger automatic client connection resumption.
resumeOnQueueLimit() - Method in class net.sf.eBus.config.EConfigure.PauseConfig
Returns the transmit queue limit which triggers an automatic client connection resumption.
runQueueType() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the thread type which defines how the next client is acquired from the run queue.

S

selector(String) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the selector used for the connection.
selector() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the selector information to which this connection is registered.
selector(String) - Static method in class net.sf.eBus.config.ENetConfigure
Returns the selector for the given name; returns null if name does not reference a known selector.
SELECTOR_KEY - Static variable in class net.sf.eBus.config.EConfigure
Both the service and connection definitions use the "selector" key suffix.
SELECTOR_PREFIX - Static variable in class net.sf.eBus.config.ENetConfigure
Selector keys are prefixed by eBus.net.selector. and followed by a selector thread, which must appear in the ENetConfigure.SELECTORS_KEY property.
selectorBuilder() - Static method in class net.sf.eBus.config.ENetConfigure
Returns a builder used to create a ENetConfigure.SelectorInfo instance.
selectors() - Static method in class net.sf.eBus.config.ENetConfigure
Returns the selector thread configurations.
SELECTORS_KEY - Static variable in class net.sf.eBus.config.ENetConfigure
The key eBus.net.selectors contains a comma-separated list of selector thread names.
serverBuilder() - Static method in class net.sf.eBus.config.EConfigure
Returns a new ServerBuilder instance used to construct an EServer programmatically.
service(String) - Method in class net.sf.eBus.config.EConfigure
Returns the eBus service for the given name.
SERVICE_PREFIX - Static variable in class net.sf.eBus.config.EConfigure
Service keys are prefixed by "eBus.service." and followed by the service name.
services() - Method in class net.sf.eBus.config.EConfigure
Returns the eBus services map.
SERVICES_KEY - Static variable in class net.sf.eBus.config.EConfigure
The key "services" contains a comma-separated list of local service names.
serviceSelector(String) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the selector used for the service connection.
serviceSelector() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the selector information to which the service socket channel is registered.
size() - Method in class net.sf.eBus.config.AddressFilter
Returns the address filter size.
SPIN_LIMIT_KEY - Static variable in class net.sf.eBus.config.EConfigure
If the thread type is spin+park or ThreadType.SPINYIELD, then the integer .spinLimit property may be specified.
SPIN_LIMIT_KEY - Static variable in class net.sf.eBus.config.ENetConfigure
If the selector type is spin+park, then the integer "spinLimit" property may be specified.
spinLimit() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the spin limit used by spin+park and spin+yield thread types.
spinLimit(long) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
spinLimit() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns a spin+park ESelector spin limit.
spinLimit(long) - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfoBuilder
Sets a spinning selector thread's spin limit.
sslContext(SSLContext) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the SSL/TLS context used by a secure location.
sslContext() - Method in class net.sf.eBus.config.EConfigure.AbstractConfig
Returns the SSL context used for a secure connection type.
store(Properties) - Method in class net.sf.eBus.config.EConfigure
Stores the eBus configuration to the given properties.
store(Preferences) - Method in class net.sf.eBus.config.EConfigure
Deprecated.
SVC_SELECTOR_KEY - Static variable in class net.sf.eBus.config.EConfigure
The service definition uses the key suffix "serviceSelector" to define the selector used to monitor the service socket.

T

textName() - Method in enum net.sf.eBus.config.ThreadType
Returns the thread type text name.
THREAD_TYPE_KEY - Static variable in class net.sf.eBus.config.EConfigure
The run queue "runQueueType" property is used to specify how the dispatcher thread acquires the next available EClient from the run queue by either blocking, spinning, spin+park, or spin+yield.
threadType(ThreadType) - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Sets the run queue thread type.
ThreadType - Enum in net.sf.eBus.config
Lists the thread types available to eBus users when configuring eBus.
toString() - Method in class net.sf.eBus.config.AddressFilter
Returns the address filter in text, formatted for storage in EConfigure.
toString() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
 
toString() - Method in class net.sf.eBus.config.EConfigure.PauseConfig
Returns the pause configuration as text.
toString() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns a text representation for this remote connection.
toString() - Method in class net.sf.eBus.config.EConfigure.Service
Returns a text representation of this eBus service.
toString() - Method in class net.sf.eBus.config.EConfigure
Returns the configuration text representation.
toString() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns a string representation of this selector info.
toString() - Method in enum net.sf.eBus.config.ThreadType
 
type() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns the ESelector type.
type(ThreadType) - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfoBuilder
Sets the selector thread type to the given value.
TYPE_KEY - Static variable in class net.sf.eBus.config.ENetConfigure
The type property is used to specify the ESelector used with the selector thread.

V

validate() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Validates builder arguments are correctly set, throwing the appropriate exception if validation fails.
validate() - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Validates the builder parameters.
validate() - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Validates the builder parameters.
valueOf(String) - Static method in enum net.sf.eBus.config.EConfigure.ConnectionRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.eBus.config.EConfigure.ConnectionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.eBus.config.EConfigure.DiscardPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.eBus.config.EConfigure.DispatcherType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.eBus.config.ThreadType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.eBus.config.EConfigure.ConnectionRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.eBus.config.EConfigure.ConnectionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.eBus.config.EConfigure.DiscardPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.eBus.config.EConfigure.DispatcherType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.eBus.config.ThreadType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F H I J L M N O P Q R S T V 
Skip navigation links

Copyright © 2020. All rights reserved.