Class RedisStateUpdater

    • Constructor Detail

      • RedisStateUpdater

        public RedisStateUpdater​(RedisStoreMapper storeMapper)
        Constructor.
        Parameters:
        storeMapper - mapper for storing
    • Method Detail

      • withExpire

        public RedisStateUpdater withExpire​(int expireIntervalSec)
        Sets expire (time to live) if needed.
        Parameters:
        expireIntervalSec - time to live in seconds
        Returns:
        RedisStateUpdater itself