Package com.swiftmq.swiftlet.store
Interface DurableSubscriberStore
-
public interface DurableSubscriberStoreThe DurableSubscriberStore.- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the store.voiddeleteDurableStoreEntry(java.lang.String clientId, java.lang.String durableName)Deletes a DurableStoreEntry.DurableStoreEntrygetDurableStoreEntry(java.lang.String clientId, java.lang.String durableName)Returns a DurableStoreEntry.voidinsertDurableStoreEntry(DurableStoreEntry durableStoreEntry)Insert a new DurableStoreEntry.java.util.Iteratoriterator()Returns an iterator for all DurableStoreEntries.
-
-
-
Method Detail
-
iterator
java.util.Iterator iterator() throws StoreExceptionReturns an iterator for all DurableStoreEntries.- Returns:
- iterator.
- Throws:
StoreException- on error.
-
getDurableStoreEntry
DurableStoreEntry getDurableStoreEntry(java.lang.String clientId, java.lang.String durableName) throws StoreException
Returns a DurableStoreEntry.- Parameters:
clientId- client id.durableName- durable name.- Returns:
- entry or null.
- Throws:
StoreException- on error.
-
insertDurableStoreEntry
void insertDurableStoreEntry(DurableStoreEntry durableStoreEntry) throws StoreException
Insert a new DurableStoreEntry.- Parameters:
durableStoreEntry- entry.- Throws:
StoreException- on error.
-
deleteDurableStoreEntry
void deleteDurableStoreEntry(java.lang.String clientId, java.lang.String durableName) throws StoreExceptionDeletes a DurableStoreEntry.- Parameters:
clientId- client id.durableName- durable name.- Throws:
StoreException- on error.
-
close
void close() throws StoreExceptionCloses the store.- Throws:
StoreException- on error.
-
-