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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JeroMQRemoteInvokerModule

      public JeroMQRemoteInvokerModule()
  • Method Details

    • withMinimumConnections

      public JeroMQRemoteInvokerModule withMinimumConnections(int minimumConnections)
      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

      public JeroMQRemoteInvokerModule withMaximumConnections(int maximumConnections)
      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 class com.google.inject.PrivateModule