01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.object;
06:
07: import com.tc.object.dna.api.DNA;
08: import com.tc.object.session.SessionID;
09:
10: import java.util.Collection;
11: import java.util.Set;
12:
13: /**
14: * Local representation of the remote object manager
15: */
16: public interface RemoteObjectManager {
17:
18: public DNA retrieve(ObjectID id);
19:
20: public DNA retrieve(ObjectID id, int depth);
21:
22: public DNA retrieveWithParentContext(ObjectID id,
23: ObjectID parentContext);
24:
25: public ObjectID retrieveRootID(String name);
26:
27: public void addRoot(String name, ObjectID id);
28:
29: public void addAllObjects(SessionID sessionID, long batchID,
30: Collection dnas);
31:
32: public void objectsNotFoundFor(SessionID sessionID, long batchID,
33: Set missingObjectIDs);
34:
35: public void removed(ObjectID id);
36:
37: /**
38: * Causes outstanding object and root requests to be re-sent.
39: */
40: public void requestOutstanding();
41:
42: public void pause();
43:
44: public void clear();
45:
46: public void starting();
47:
48: public void unpause();
49:
50: }
|