Uses of Record Class
com.svenruppert.jsentinel.session.JSentinelVersionKey
Packages that use JSentinelVersionKey
-
Uses of JSentinelVersionKey in com.svenruppert.jsentinel.session
Methods in com.svenruppert.jsentinel.session with parameters of type JSentinelVersionKeyModifier and TypeMethodDescriptionJSentinelVersionCheck.check(JSentinelVersionKey key, JSentinelVersion snapshot) Comparessnapshotagainststore.current(key).InMemoryJSentinelVersionStore.current(JSentinelVersionKey key) JSentinelVersionStore.current(JSentinelVersionKey key) Returns the currentJSentinelVersionassociated withkey.InMemoryJSentinelVersionStore.increment(JSentinelVersionKey key) JSentinelVersionStore.increment(JSentinelVersionKey key) Atomically bumps the version forkeyby one and returns the new value.voidInMemoryJSentinelVersionStore.reset(JSentinelVersionKey key) voidJSentinelVersionStore.reset(JSentinelVersionKey key) Resets the version forkeytoJSentinelVersion.INITIAL.