org.terracotta.toolkit.internal.cache
Interface VersionedValue<V>

Type Parameters:
V - value type

public interface VersionedValue<V>

The wrapper for returning the value and its version.

Author:
mcho

Method Summary
 V getValue()
           
 long getVersion()
           
 

Method Detail

getValue

V getValue()
Returns:
the associated value

getVersion

long getVersion()
Returns:
the version associated with the corresponding value.


Copyright © 2013 Terracotta, Inc.. All Rights Reserved.