Class InMemoryReplayChecker

  • All Implemented Interfaces:
    MessageReplayChecker

    public class InMemoryReplayChecker
    extends Object
    implements MessageReplayChecker
    An in-memory based message replay checker implementation. This is mainly for testing and simple mock implementations.
    Author:
    Martin Lindström (martin.lindstrom@litsec.se)
    • Constructor Detail

      • InMemoryReplayChecker

        public InMemoryReplayChecker()
    • Method Detail

      • setReplayCacheExpiration

        public void setReplayCacheExpiration​(long replayCacheExpiration)
        Assigns the number of milliseconds each stored ID should be kept in the cache. The default is 5 minutes.
        Parameters:
        replayCacheExpiration - number of millis