Package org.mockserver.state
Class Versioned<V>
java.lang.Object
org.mockserver.state.Versioned<V>
- Type Parameters:
V- the value type
A value paired with an optimistic-concurrency version number.
The version is incremented on every mutation;
KeyValueStore.compareAndSet(java.lang.String, long, V)
uses it to detect concurrent updates.-
Constructor Summary
Constructors -
Method Summary