org.infinispan.container.versioning
Interface VersionGenerator

All Known Implementing Classes:
SimpleClusteredVersionGenerator

public interface VersionGenerator

Generates versions

Since:
5.1
Author:
Manik Surtani

Method Summary
 IncrementableEntryVersion generateNew()
          Generates a new entry version
 IncrementableEntryVersion increment(IncrementableEntryVersion initialVersion)
           
 

Method Detail

generateNew

IncrementableEntryVersion generateNew()
Generates a new entry version

Returns:
a new entry version

increment

IncrementableEntryVersion increment(IncrementableEntryVersion initialVersion)

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.