| Package | Description |
|---|---|
| net.engio.mbassy.bus | |
| net.engio.mbassy.bus.config |
| Constructor and Description |
|---|
MBassador(BusConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
static BusConfiguration |
BusConfiguration.Default()
Creates a new instance, using the Default settings of 2 dispatchers, and
asynchronous handlers with an initial count equal to the number of
available processors in the machine, with maximum count equal to
2 * the number of available processors.
|
static BusConfiguration |
BusConfiguration.Default(int numberOfDispatchers)
Creates a new instance, using the specified number of dispatchers, and
asynchronous handlers with an initial count equal to the number of
available processors in the machine, with maximum count equal to
2 * the number of available processors.
|
static BusConfiguration |
BusConfiguration.Default(int numberOfDispatchers,
int initialCoreThreads,
int maximumCoreThreads)
Creates a new instance, using the specified number of dispatchers, and
asynchronous handlers with initial threads and maximum threads specified by the calling
parameters.
|
static BusConfiguration |
BusConfiguration.Default(int numberOfDispatchers,
ThreadPoolExecutor executor)
Creates a new instance, using the specified number of dispatchers, and
asynchronous handlers that use the provided ThreadPoolExecutor.
|
static BusConfiguration |
BusConfiguration.Empty() |
BusConfiguration |
BusConfiguration.setExecutorForAsynchronousHandlers(ExecutorService executor) |
BusConfiguration |
BusConfiguration.setMessagePublicationFactory(MessagePublication.Factory messagePublicationFactory) |
BusConfiguration |
BusConfiguration.setNumberOfMessageDispatchers(int numberOfMessageDispatchers) |
BusConfiguration |
BusConfiguration.setSubscriptionFactory(SubscriptionFactory subscriptionFactory) |
BusConfiguration |
BusConfiguration.setThreadFactoryForAsynchronousMessageDispatch(ThreadFactory factory) |
Copyright © 2013. All Rights Reserved.