1 4 package com.tc.objectserver.l1.api; 5 6 import com.tc.net.protocol.tcm.ChannelID; 7 import com.tc.object.ObjectID; 8 import com.tc.objectserver.managedobject.BackReferences; 9 import com.tc.text.PrettyPrintable; 10 11 import java.util.Collection ; 12 import java.util.List ; 13 import java.util.Set ; 14 15 18 public interface ClientStateManager extends PrettyPrintable { 19 20 public void stop(); 21 22 27 public void shutdownClient(ChannelID deadClient); 28 29 32 public void addReference(ChannelID clientID, ObjectID objectID); 33 34 37 public void removeReferences(ChannelID clientID, Set removed); 38 39 public boolean hasReference(ChannelID clientID, ObjectID objectID); 40 41 45 public List createPrunedChangesAndAddObjectIDTo(Collection changes, BackReferences references, ChannelID clientID, Set objectIDs); 46 47 public void addAllReferencedIdsTo(Set rescueIds); 48 49 public void removeReferencedFrom(ChannelID channelID, Set secondPass); 50 51 public Set addReferences(ChannelID channelID, Set oids); 52 } 53 | Popular Tags |