Package org.apache.openjpa.datacache
Interface DataCachePCData
- All Superinterfaces:
PCData
,Serializable
- All Known Implementing Classes:
DataCachePCDataImpl
Specialized
PCData
implementation for data caching.- Author:
- Patrick Linskey
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the original timeout of this instance.boolean
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 Details
-
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.
-