Class LibmemcachedMemcachedSessionLocator

    • Constructor Detail

      • LibmemcachedMemcachedSessionLocator

        public LibmemcachedMemcachedSessionLocator()
      • LibmemcachedMemcachedSessionLocator

        public LibmemcachedMemcachedSessionLocator​(int numReps,
                                                   HashAlgorithm hashAlgorithm)
    • Method Detail

      • getSessionByHash

        public final Session getSessionByHash​(long hash)
      • nextHash

        public final long nextHash​(long hashVal,
                                   String key,
                                   int tries)
      • updateSessions

        public final void updateSessions​(Collection<Session> list)
        Description copied from interface: MemcachedSessionLocator
        Update sessions when session was added or removed.
        Parameters:
        list - The newer sessions