Class MemcacheCacheStorager.MemcachePoolConfig

    • Field Detail

      • minConn

        public static int minConn
      • initConn

        public static int initConn
      • maxConn

        public static int maxConn
      • maxIdle

        public static int maxIdle
      • maxBusyTime

        public static long maxBusyTime
      • socketTO

        public static int socketTO
      • socketConnectTO

        public static int socketConnectTO
      • failover

        public static boolean failover
      • failback

        public static boolean failback
      • nagle

        public static boolean nagle
      • aliveCheck

        public static boolean aliveCheck
    • Constructor Detail

      • MemcachePoolConfig

        public MemcachePoolConfig()
        {localhost:11211,1}
      • MemcachePoolConfig

        public MemcachePoolConfig​(String host)
        {host:11211,1}
        Parameters:
        host - 主机
      • MemcachePoolConfig

        public MemcachePoolConfig​(String host,
                                  int port)
        {host:port,1}
        Parameters:
        host - 主机
        port - 端口
      • MemcachePoolConfig

        public MemcachePoolConfig​(String host,
                                  int port,
                                  int weight)
        {host:port,weight}
        Parameters:
        host - 主机
        port - 端口
        weight - 权重