KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > RemoteObjectManager


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object;
5
6 import com.tc.object.dna.api.DNA;
7 import com.tc.object.session.SessionID;
8
9 import java.util.Collection JavaDoc;
10
11 /**
12  * @author steve local representation of the remote object manager
13  */

14 public interface RemoteObjectManager {
15
16   public DNA retrieve(ObjectID id);
17
18   public DNA retrieve(ObjectID id, int depth);
19
20   public ObjectID retrieveRootID(String JavaDoc name);
21
22   public void addRoot(String JavaDoc name, ObjectID id);
23
24   public void addAllObjects(SessionID sessionID, long batchID, Collection JavaDoc dnas);
25
26   public void removed(ObjectID id);
27
28   /**
29    * Causes outstanding object and root requests to be re-sent.
30    */

31   public void requestOutstanding();
32
33   public void pause();
34
35   public void clear();
36
37   public void starting();
38
39   public void unpause();
40
41 }
Popular Tags