Skip navigation links
A B C D E F H I 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.
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() - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Returns the configured Internet address and port.
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() - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Returns the configured address filter.
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 -1 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() - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Returns the configured bind port.
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.ServerBuilder
Returns the eBus service configuration built from the previously set parameters.
BYTE_ORDER_KEY - Static variable in class net.sf.eBus.config.EConfigure
Both the service and connection definitions use the ".byteOrder" key suffix.
byteOrder() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Returns the configured byte order.
byteOrder(ByteOrder) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the connection byte order.
byteOrder() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the socket buffer byte ordering.
byteOrder(ByteOrder) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the byte order used by accepted TCP connections.
byteOrder() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the accepted connection buffer byte ordering.

C

classes() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the classes assigned to this dispatcher.
classes() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns the array of 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
 
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.
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.
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 "eBus.connections" contains a comma-separated list of remote connection names.
connectionSelector() - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Returns the network selector information used for accepted connections.
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() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Returns the underlying channel type.
connectionType(EConfigure.ConnectionType) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the underlying channel type.
connectionType() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the target channel type.
connectionType(EConfigure.ConnectionType) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the underlying channel type.
connectionType() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the accepted 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_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
 
DISPATCHER_PREFIX - Static variable in class net.sf.eBus.config.EConfigure
Dispatcher keys are prefixed by "eBus.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 "eBus.dispatchers" contains a comma-separated list of unique, client dispatcher names.
dispatcherType() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns the Dispatcher type.
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.

E

EConfigure - Class in net.sf.eBus.config
This immutable class contains eBus services, remote connection, and dispatcher configuration.
EConfigure.AbstractBuilder - Class in net.sf.eBus.config
Base class for EConfigure.ServerBuilder and EConfigure.ConnectionBuilder, containing the properties common to both.
EConfigure.ConnectionBuilder - Class in net.sf.eBus.config
Constructs an EConfigure.RemoteConnection instance based on the parameters set via the builder's API.
EConfigure.ConnectionType - Enum in net.sf.eBus.config
Enumerates the channel types supported by eBus ERemoteApp.
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.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 a specific, named selector.
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.

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.
hasRemoteConnections() - Method in class net.sf.eBus.config.EConfigure
Returns true if remote connections are configured and false if not.
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() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Returns the configured heartbeat delay.
heartbeatDelay(long) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the heartbeat delay used for the connection.
heartbeatDelay() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the heartbeat delay in milliseconds.
heartbeatDelay(long) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the heartbeat delay used for accepted TCP connections.
heartbeatDelay() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the heartbeat delay in milliseconds.
heartbeatReplyDelay() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Returns the configured heartbeat reply delay.
heartbeatReplyDelay(long) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the heartbeat reply delay used for the connection.
heartbeatReplyDelay() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the heartbeat reply delay.
heartbeatReplyDelay(long) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the heartbeat reply delay used for accepted TCP connections.
heartbeatReplyDelay() - Method in class net.sf.eBus.config.EConfigure.Service
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

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() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Returns the configured input buffer size.
inputBufferSize(int) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the connection input buffer size.
inputBufferSize() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the socket input buffer size.
inputBufferSize(int) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the input buffer size for all accepted TCP connections.
inputBufferSize() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the accepted 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() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns true if the Dispatcher is configured to be 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.
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.

L

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
Returns an eBus configuration extracted from the preferences.
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.
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
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
Returns the eBus dispatcher configuration found in the given preferences.
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
Returns the eBus TCP service.

M

MAX_PORT - Static variable in class net.sf.eBus.config.ENetConfigure
The maximum allowed port number is 65,535.
mByteOrder - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Code and decode messages in this byte order.
messageQueueSize() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Returns the configured message queue size.
messageQueueSize(int) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the connection maximum queue size.
messageQueueSize() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the maximum number of messages on the output queue.
messageQueueSize(int) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the maximum queue size for accepted TCP connections.
messageQueueSize() - Method in class net.sf.eBus.config.EConfigure.Service
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.
mHbReplyDelay - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
The number of milliseconds the far-end has to respond to a heartbeat.
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.
mMsgQueueSize - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Maximum eBus message outbound queue size for remote connections.
mName - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Unique service or connection name.
mOutputBufferSize - Variable in class net.sf.eBus.config.EConfigure.AbstractBuilder
Maximum output buffer size.
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.

N

name() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Returns the configuration name.
name(String) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the connection name.
name() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the unique dispatcher name.
name() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns the 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.EConfigure.RemoteConnection
Returns the remote connection unique name.
name(String) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the service name.
name() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the remote connection unique name.
name() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns the unique selector thread 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() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns the number of Dispatcher threads.
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() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Returns the configured output buffer size.
outputBufferSize(int) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the connection output buffer size.
outputBufferSize() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the socket output buffer size.
outputBufferSize(int) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the output buffer size for all accept TCP connections.
outputBufferSize() - Method in class net.sf.eBus.config.EConfigure.Service
Returns the accepted 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() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns the nanosecond park time.
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.
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.
port() - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Returns the configured TCP port.
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() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
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_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.

Q

quantum() - Method in class net.sf.eBus.config.EConfigure.Dispatcher
Returns the client run-time quantum assigned by this dispatcher.
quantum() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns the eBus client run quantum.
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() - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Returns true if the connection is configured to re-establish a lost connect.
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() - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Returns the configured millisecond reconnect delay.
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.
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() - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Returns the configured network selector information.
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.
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_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 TCP/IP services.
SERVICES_KEY - Static variable in class net.sf.eBus.config.EConfigure
The key "eBus.services" contains a comma-separated list of local service names.
serviceSelector() - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Returns the network selector information used for the eBus service.
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.
setByteOrder(ByteOrder) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the byte order used by accepted TCP connections.
setConnectionType(EConfigure.ConnectionType) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the channel type to the given value.
setHeartbeatDelay(long) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the heartbeat delay used for accepted TCP connections.
setHeartbeatReplyDelay(long) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the heartbeat reply delay used for accepted TCP connections.
setInputBufferSize(int) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the input buffer size for all accepted TCP connections.
setMessageQueueSize(int) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the maximum queue size for accepted TCP connections.
setName(String) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the service name.
setOutputBufferSize(int) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the output buffer size for all accept TCP connections.
setSSLContext(SSLContext) - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Sets the SSL context instance.
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() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns the spin limit.
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.
sslContext() - Method in class net.sf.eBus.config.EConfigure.AbstractBuilder
Returns the configured SSL context.
sslContext(SSLContext) - Method in class net.sf.eBus.config.EConfigure.ConnectionBuilder
Sets the SSL/TLS context used by a secure location.
sslContext() - Method in class net.sf.eBus.config.EConfigure.RemoteConnection
Returns the SSL context used for a secure connection type.
sslContext(SSLContext) - Method in class net.sf.eBus.config.EConfigure.ServerBuilder
Sets the SSL/TLS context used by a secure location.
sslContext() - Method in class net.sf.eBus.config.EConfigure.Service
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
Stores the eBus configuration to the given preferences.
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() - Method in class net.sf.eBus.config.EConfigure.DispatcherBuilder
Returns the Dispatcher thread type.
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.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
 
toString() - Method in enum net.sf.eBus.config.ThreadType
 
type() - Method in class net.sf.eBus.config.ENetConfigure.SelectorInfo
Returns the ESelector type.
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.ConnectionType
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.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.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 L M N O P Q R S T V 
Skip navigation links

Copyright © 2019. All rights reserved.