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
Modifier and TypeMethodDescriptionvoid
close()
Closes the store.void
deleteDurableStoreEntry
(String clientId, String durableName) Deletes a DurableStoreEntry.getDurableStoreEntry
(String clientId, String durableName) Returns a DurableStoreEntry.void
insertDurableStoreEntry
(DurableStoreEntry durableStoreEntry) Insert a new DurableStoreEntry.iterator()
Returns an iterator for all DurableStoreEntries.
-
Method Details
-
iterator
Returns an iterator for all DurableStoreEntries.- Returns:
- iterator.
- Throws:
StoreException
- on error.
-
getDurableStoreEntry
Returns a DurableStoreEntry.- Parameters:
clientId
- client id.durableName
- durable name.- Returns:
- entry or null.
- Throws:
StoreException
- on error.
-
insertDurableStoreEntry
Insert a new DurableStoreEntry.- Parameters:
durableStoreEntry
- entry.- Throws:
StoreException
- on error.
-
deleteDurableStoreEntry
Deletes a DurableStoreEntry.- Parameters:
clientId
- client id.durableName
- durable name.- Throws:
StoreException
- on error.
-
close
Closes the store.- Throws:
StoreException
- on error.
-