Class JeroMQRemoteInvokerModule
java.lang.Object
com.google.inject.PrivateModule
dev.getelements.elements.rt.remote.jeromq.guice.JeroMQRemoteInvokerModule
- All Implemented Interfaces:
com.google.inject.Module
public class JeroMQRemoteInvokerModule
extends com.google.inject.PrivateModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
withMaximumConnections
(int maximumConnections) Specifies the minimum number of connections to allow.withMinimumConnections
(int minimumConnections) Specifies the minimum number of connections to keep active, even if the timeout has expired.Methods inherited from class com.google.inject.PrivateModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, expose, expose, expose, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
JeroMQRemoteInvokerModule
public JeroMQRemoteInvokerModule()
-
-
Method Details
-
withMinimumConnections
Specifies the minimum number of connections to keep active, even if the timeout has expired.- Parameters:
minimumConnections
- the minimum number of connections to keep issueOpenInprocChannelCommand- Returns:
- this instance
-
withMaximumConnections
Specifies the minimum number of connections to allow.- Parameters:
maximumConnections
- the minimum number of connections to keep issueOpenInprocChannelCommand- Returns:
- this instance
-
configure
protected void configure()- Specified by:
configure
in classcom.google.inject.PrivateModule
-