Package com.swiftmq.swiftlet.store
Interface DurableSubscriberStore
-
public interface DurableSubscriberStore
The 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 void
close()
Closes the store.void
deleteDurableStoreEntry(java.lang.String clientId, java.lang.String durableName)
Deletes a DurableStoreEntry.DurableStoreEntry
getDurableStoreEntry(java.lang.String clientId, java.lang.String durableName)
Returns a DurableStoreEntry.void
insertDurableStoreEntry(DurableStoreEntry durableStoreEntry)
Insert a new DurableStoreEntry.java.util.Iterator
iterator()
Returns an iterator for all DurableStoreEntries.
-
-
-
Method Detail
-
iterator
java.util.Iterator iterator() throws StoreException
Returns 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 StoreException
Deletes a DurableStoreEntry.- Parameters:
clientId
- client id.durableName
- durable name.- Throws:
StoreException
- on error.
-
close
void close() throws StoreException
Closes the store.- Throws:
StoreException
- on error.
-
-