Package com.swiftmq.swiftlet.store
Interface NonPersistentStore
public interface NonPersistentStore
A store for non-persistent messages (a swap store).
- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the store and delete all content.void
Delete a store entry.Get a store entry.void
insert
(StoreEntry storeEntry) Insert a store entry.void
updateDeliveryCount
(Object key, int deliveryCount) Update the delivery count of a store entry.
-
Method Details
-
get
Get a store entry.- Parameters:
key
- the key.- Returns:
- store entry.
- Throws:
StoreException
- on error.
-
updateDeliveryCount
Update the delivery count of a store entry.- Parameters:
key
- the key.deliveryCount
- new count.- Throws:
StoreException
- on error.
-
insert
Insert a store entry.- Parameters:
storeEntry
- store entry.- Throws:
StoreException
- on error.
-
delete
Delete a store entry.- Parameters:
key
- the key.- Throws:
StoreException
- on error.
-
close
Close the store and delete all content.- Throws:
StoreException
- on error.
-