| com.tc.objectserver.api.ObjectManager
All known Subclasses: com.tc.objectserver.core.impl.MarkAndSweepGarbageCollectorTest, com.tc.objectserver.impl.TestObjectManager, com.tc.objectserver.impl.ObjectManagerImpl,
ObjectManager | public interface ObjectManager extends ManagedObjectProvider,PrettyPrintable(Code) | | manages all access to objects on the server. This will be single threaded and only accessed via it's event handler.
author: steve |
flushAndEvict | public void flushAndEvict(List objects2Flush)(Code) | | |
getCheckedOutCount | public int getCheckedOutCount()(Code) | | |
getRootNamesToIDsMap | public Map getRootNamesToIDsMap()(Code) | | |
lookupObjectsAndSubObjectsFor | public boolean lookupObjectsAndSubObjectsFor(NodeID nodeID, ObjectManagerResultsContext responseContext, int maxCount)(Code) | | Looks up the objects associated with the Object Lookups from the clients. What it does is if all the objects are
available it calls setResult() o ObjectManagerResultsContext. If not then it calls makesPending on
ObjectManagerResultsContext and hangs on to the request until it can be fullfilled.
Parameters: nodeID - - nodeID of the client that is interested in lookup Parameters: maxCount - - max number of objects reachable from the requested objects that should be looked up Parameters: context - - ResultContext that gets notifications. true if all the objects are successfully looked up. |
lookupObjectsFor | public boolean lookupObjectsFor(NodeID nodeID, ObjectManagerResultsContext context)(Code) | | Looks up the objects associated with the transaction. What it does is if all the objects are available to be
updated it calls setResult() on ObjectManagerResultsContext. If not then it calls makesPending on
ObjectManagerResultsContext and hangs on to the request until it can be fullfilled.
Parameters: nodeID - - nodeID of the client that is interested in lookup Parameters: context - - ResultContext that gets notifications. true if all the objects are successfully looked up. |
notifyGCComplete | public void notifyGCComplete(Set toDelete)(Code) | | Called by GC thread (in object manager)
Parameters: toDelete - |
releaseReadOnly | public void releaseReadOnly(ManagedObject object)(Code) | | release for objects that can not have changed while checked out
|
start | public void start()(Code) | | |
waitUntilReadyToGC | public void waitUntilReadyToGC()(Code) | | Called by GC thread (in object manager)
|
|
|