org.infinispan.client.hotrod.impl
Class VersionedValueImpl<V>

java.lang.Object
  extended by org.infinispan.client.hotrod.impl.VersionedValueImpl<V>
All Implemented Interfaces:
VersionedValue<V>

public class VersionedValueImpl<V>
extends Object
implements VersionedValue<V>

Since:
4.1
Author:
Mircea.Markus@jboss.com

Constructor Summary
VersionedValueImpl(long version, V value)
           
 
Method Summary
 V getValue()
           
 long getVersion()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionedValueImpl

public VersionedValueImpl(long version,
                          V value)
Method Detail

getVersion

public long getVersion()
Specified by:
getVersion in interface VersionedValue<V>

getValue

public V getValue()
Specified by:
getValue in interface VersionedValue<V>

toString

public String toString()
Overrides:
toString in class Object

Google Analytics

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