01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.objectserver.persistence.api;
05:
06: import com.tc.net.protocol.tcm.ChannelID;
07: import com.tc.objectserver.persistence.impl.ClientNotFoundException;
08: import com.tc.util.sequence.MutableSequence;
09:
10: import java.util.Set;
11:
12: public interface ClientStatePersistor {
13:
14: public MutableSequence getConnectionIDSequence();
15:
16: public Set loadClientIDs();
17:
18: public boolean containsClient(ChannelID id);
19:
20: public void saveClientState(ChannelID channelID);
21:
22: public void deleteClientState(ChannelID id)
23: throws ClientNotFoundException;
24: }
|