com.orientechnologies.jdo
Class oCacheItem
java.lang.Object
com.orientechnologies.jdo.oCacheItem
- All Implemented Interfaces:
- java.io.Serializable
- public class oCacheItem
- extends java.lang.Object
- implements java.io.Serializable
Cache item to handle. It contains information about persistent object to
cache by oCacheManager instance.
NOTE: Internal use only, JDO Applications must not use this class directly.
- See Also:
oCacheManager,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oCacheItem
public oCacheItem(oOID iOid,
oBinary iObject,
boolean iPinned,
oTransaction iTx)
exclusiveLock
public void exclusiveLock(oTransaction iTx)
throws oObjectLockedException,
oObjectNotLockedException
- Throws:
oObjectLockedException
oObjectNotLockedException
isAvailable
public boolean isAvailable()
isPinned
public boolean isPinned()
getExclusiveWriter
public oTransaction getExclusiveWriter()
getObject
public oBinary getObject()
getOid
public oOID getOid()
getSharedReaders
public java.util.ArrayList getSharedReaders()