Class MemcachedSessionDataMapFactory

    • Field Detail

      • _expiry

        protected int _expiry
      • _heartbeats

        protected boolean _heartbeats
      • _weights

        protected int[] _weights
      • _addresses

        protected java.util.List<java.net.InetSocketAddress> _addresses
    • Constructor Detail

      • MemcachedSessionDataMapFactory

        public MemcachedSessionDataMapFactory()
    • Method Detail

      • setAddresses

        public void setAddresses​(java.net.InetSocketAddress... addresses)
        Parameters:
        addresses - host and port address of memcached servers
      • setWeights

        public void setWeights​(int[] weights)
        Parameters:
        weights - the relative weight to give each server in the list of addresses
      • getExpirySec

        public int getExpirySec()
      • setExpirySec

        public void setExpirySec​(int expiry)
        Parameters:
        expiry - time in secs that memcached item remains valid
      • isHeartbeats

        public boolean isHeartbeats()
      • setHeartbeats

        public void setHeartbeats​(boolean heartbeats)