Class SimpleClusteredVersionGenerator
java.lang.Object
org.infinispan.container.versioning.SimpleClusteredVersionGenerator
- All Implemented Interfaces:
VersionGenerator
A version generator implementation for SimpleClusteredVersions
- Since:
- 5.1
- Author:
- Manik Surtani
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGenerates a new entry versionincrement
(IncrementableEntryVersion initialVersion) void
start()
-
Constructor Details
-
SimpleClusteredVersionGenerator
public SimpleClusteredVersionGenerator()
-
-
Method Details
-
start
public void start() -
generateNew
Description copied from interface:VersionGenerator
Generates a new entry version- Specified by:
generateNew
in interfaceVersionGenerator
- Returns:
- a new entry version
-
increment
- Specified by:
increment
in interfaceVersionGenerator
-
nonExistingVersion
- Specified by:
nonExistingVersion
in interfaceVersionGenerator
-