Class NonPersistentStoreImpl
java.lang.Object
com.swiftmq.impl.store.standard.NonPersistentStoreImpl
- All Implemented Interfaces:
com.swiftmq.swiftlet.store.NonPersistentStore
public class NonPersistentStoreImpl
extends Object
implements com.swiftmq.swiftlet.store.NonPersistentStore
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNonPersistentStoreImpl(StoreContext ctx, String queueName, String path, long maxLength) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidprotected booleancom.swiftmq.swiftlet.store.StoreEntryvoidinsert(com.swiftmq.swiftlet.store.StoreEntry storeEntry) toString()voidupdateDeliveryCount(Object key, int deliveryCount)
-
Field Details
-
queueName
-
-
Constructor Details
-
NonPersistentStoreImpl
-
-
Method Details
-
deleteSwapFilesOnClose
protected boolean deleteSwapFilesOnClose() -
get
public com.swiftmq.swiftlet.store.StoreEntry get(Object key) throws com.swiftmq.swiftlet.store.StoreException - Specified by:
getin interfacecom.swiftmq.swiftlet.store.NonPersistentStore- Throws:
com.swiftmq.swiftlet.store.StoreException
-
updateDeliveryCount
public void updateDeliveryCount(Object key, int deliveryCount) throws com.swiftmq.swiftlet.store.StoreException - Specified by:
updateDeliveryCountin interfacecom.swiftmq.swiftlet.store.NonPersistentStore- Throws:
com.swiftmq.swiftlet.store.StoreException
-
insert
public void insert(com.swiftmq.swiftlet.store.StoreEntry storeEntry) throws com.swiftmq.swiftlet.store.StoreException - Specified by:
insertin interfacecom.swiftmq.swiftlet.store.NonPersistentStore- Throws:
com.swiftmq.swiftlet.store.StoreException
-
delete
- Specified by:
deletein interfacecom.swiftmq.swiftlet.store.NonPersistentStore- Throws:
com.swiftmq.swiftlet.store.StoreException
-
close
public void close() throws com.swiftmq.swiftlet.store.StoreException- Specified by:
closein interfacecom.swiftmq.swiftlet.store.NonPersistentStore- Throws:
com.swiftmq.swiftlet.store.StoreException
-
toString
-