KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > l2 > objectserver > L2ObjectStateManager


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

4 package com.tc.l2.objectserver;
5
6 import com.tc.async.api.Sink;
7 import com.tc.l2.context.ManagedObjectSyncContext;
8 import com.tc.net.groups.NodeID;
9 import com.tc.objectserver.api.ObjectManager;
10
11 import java.util.List JavaDoc;
12 import java.util.Set JavaDoc;
13
14 public interface L2ObjectStateManager {
15
16   public void removeL2(NodeID nodeID);
17
18   public int addL2WithObjectIDs(NodeID nodeID, Set JavaDoc oids, ObjectManager objectManager);
19
20   public ManagedObjectSyncContext getSomeObjectsToSyncContext(NodeID nodeID, int count, Sink sink);
21
22   public void close(ManagedObjectSyncContext mosc);
23   
24   public List JavaDoc getL2ObjectStates();
25 }
Popular Tags