| java.lang.Object com.tc.objectserver.managedobject.ManagedObjectImpl
ManagedObjectImpl | public class ManagedObjectImpl implements ManagedObject,ManagedObjectReference,Serializable,PrettyPrintable(Code) | | Responsible for maintaining the state of a shared object. Used for broadcasting new instances of an object as well as
having changes applied to it and keeping track of references for garbage collection. If you add fields to this object
that need to be serialized make sure you add them to the ManagedObjectSerializer
author: steve TODO:: Remove Cacheable interface from this Object. |
accessCount | public int accessCount(int factor)(Code) | | |
canEvict | public synchronized boolean canEvict()(Code) | | |
clearAccessed | public void clearAccessed()(Code) | | |
getClassname | public String getClassname()(Code) | | This is public for testing
|
getLoaderDescription | public String getLoaderDescription()(Code) | | |
getNext | public TLinkable getNext()(Code) | | |
getObjectReferences | public Set getObjectReferences()(Code) | | |
getPrevious | public TLinkable getPrevious()(Code) | | |
getVersion | public long getVersion()(Code) | | |
isDirty | public boolean isDirty()(Code) | | |
isEqual | public boolean isEqual(ManagedObject moi)(Code) | | This is here for testing, not production use.
|
isNew | public boolean isNew()(Code) | | |
isPinned | public boolean isPinned()(Code) | | Determines whether or not this reference is pinned in the ObjectManager's cache. This allows the object manager to
lookup multiple objects one at a time without evicting them from the cache.
|
isReferenced | public boolean isReferenced()(Code) | | |
isRemoveOnRelease | public boolean isRemoveOnRelease()(Code) | | |
markAccessed | public void markAccessed()(Code) | | |
markReference | public void markReference()(Code) | | |
pin | public void pin()(Code) | | Pins this reference in the cache.
|
recentlyAccessed | public boolean recentlyAccessed()(Code) | | |
setBasicIsNew | void setBasicIsNew(boolean b)(Code) | | |
setIsDirty | public void setIsDirty(boolean isDirty)(Code) | | |
setNext | public void setNext(TLinkable next)(Code) | | |
setPrevious | public void setPrevious(TLinkable previous)(Code) | | |
setRemoveOnRelease | public void setRemoveOnRelease(boolean removeOnRelease)(Code) | | ManagedObjectReference::Cacheable interface XXX:: Most of these methods are not synchronized (except when accessing
the flag field which can be accessed from multiple threads) 'coz it is expected that these are called under the
scope of a bigger sync block (from evictionPolicy)
|
unmarkReference | public void unmarkReference()(Code) | | |
unpin | public void unpin()(Code) | | |
|
|