Infinispan Distribution 5.2.6.Final-redhat-2

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

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

public class MetadataValueImpl<V>
extends VersionedValueImpl<V>
implements MetadataValue<V>

MetadataValueImpl.

Since:
5.2
Author:
Tristan Tarrant

Constructor Summary
MetadataValueImpl(long created, int lifespan, long lastUsed, int maxIdle, long version, V value)
           
 
Method Summary
 long getCreated()
           
 long getLastUsed()
           
 int getLifespan()
           
 int getMaxIdle()
           
 String toString()
           
 
Methods inherited from class org.infinispan.client.hotrod.impl.VersionedValueImpl
getValue, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.infinispan.client.hotrod.VersionedValue
getValue, getVersion
 

Constructor Detail

MetadataValueImpl

public MetadataValueImpl(long created,
                         int lifespan,
                         long lastUsed,
                         int maxIdle,
                         long version,
                         V value)
Method Detail

getCreated

public long getCreated()
Specified by:
getCreated in interface MetadataValue<V>

getLifespan

public int getLifespan()
Specified by:
getLifespan in interface MetadataValue<V>

getLastUsed

public long getLastUsed()
Specified by:
getLastUsed in interface MetadataValue<V>

getMaxIdle

public int getMaxIdle()
Specified by:
getMaxIdle in interface MetadataValue<V>

toString

public String toString()
Overrides:
toString in class VersionedValueImpl<V>

Infinispan Distribution 5.2.6.Final-redhat-2

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