Interface Connector

  • All Superinterfaces:
    Controller
    All Known Implementing Classes:
    MemcachedConnector

    public interface Connector
    extends Controller
    Connector which is used to connect to memcached server.
    Author:
    dennis
    • Method Detail

      • setOptimizeMergeBuffer

        void setOptimizeMergeBuffer​(boolean optimiezeMergeBuffer)
      • setMergeFactor

        void setMergeFactor​(int factor)
      • setOptimizeGet

        void setOptimizeGet​(boolean optimizeGet)
      • removeSession

        void removeSession​(Session session)
      • setHealSessionInterval

        void setHealSessionInterval​(long interval)
      • getHealSessionInterval

        long getHealSessionInterval()
      • setConnectionPoolSize

        void setConnectionPoolSize​(int connectionPoolSize)
      • setBufferAllocator

        void setBufferAllocator​(BufferAllocator bufferAllocator)
      • setEnableHealSession

        void setEnableHealSession​(boolean enableHealSession)
      • updateSessions

        void updateSessions()
      • quitAllSessions

        void quitAllSessions()
        Make all connection sending a quit command to memcached
      • setFailureMode

        void setFailureMode​(boolean failureMode)
      • getNoReplyOpsFlowControl

        FlowControl getNoReplyOpsFlowControl()
        Returns the noreply operations flow control manager.
        Returns: