org.infinispan.container.entries.versioned
Interface Versioned

All Known Subinterfaces:
CacheEntry, InternalCacheEntry, MVCCEntry
All Known Implementing Classes:
AbstractInternalCacheEntry, ClusteredRepeatableReadEntry, DeltaAwareCacheEntry, ImmortalCacheEntry, MortalCacheEntry, NullMarkerEntry, NullMarkerEntryForRemoval, ReadCommittedEntry, RepeatableReadEntry, TransientCacheEntry, TransientMortalCacheEntry, VersionedImmortalCacheEntry, VersionedImmortalCacheValue, VersionedMortalCacheEntry, VersionedMortalCacheValue, VersionedTransientCacheEntry, VersionedTransientCacheValue, VersionedTransientMortalCacheEntry, VersionedTransientMortalCacheValue

public interface Versioned

An interface that marks the ability to handle versions

Since:
5.1
Author:
Manik Surtani

Method Summary
 EntryVersion getVersion()
           
 void setVersion(EntryVersion version)
          Sets the version on this entry.
 

Method Detail

getVersion

EntryVersion getVersion()
Returns:
the version of the entry. May be null if versioning is not supported, and must never be null if versioning is supported.

setVersion

void setVersion(EntryVersion version)
Sets the version on this entry.

Parameters:
version - version to set

-->

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