org.apache.openjpa.datacache
Interface DataCachePCData

All Superinterfaces:
PCData, Serializable
All Known Implementing Classes:
DataCachePCDataImpl

public interface DataCachePCData
extends PCData

Specialized PCData implementation for data caching.

Author:
Patrick Linskey

Method Summary
 long getTimeOut()
          Gets the original timeout of this instance.
 boolean isTimedOut()
          Whether this data is timed out.
 
Methods inherited from interface org.apache.openjpa.kernel.PCData
getCache, getData, getId, getImplData, getType, getVersion, isLoaded, load, load, setImplData, setVersion, store, store
 

Method Detail

isTimedOut

boolean isTimedOut()
Whether this data is timed out.


getTimeOut

long getTimeOut()
Gets the original timeout of this instance.

Returns:
-1 for no timeout ever.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.