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 Details

    • queueName

      protected String queueName
  • Constructor Details

    • NonPersistentStoreImpl

      protected NonPersistentStoreImpl(StoreContext ctx, String queueName, String path, long maxLength)
  • Method Details

    • deleteSwapFilesOnClose

      protected boolean deleteSwapFilesOnClose()
    • get

      public com.swiftmq.swiftlet.store.StoreEntry get(Object key) throws com.swiftmq.swiftlet.store.StoreException
      Specified by:
      get in interface com.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:
      updateDeliveryCount in interface com.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:
      insert in interface com.swiftmq.swiftlet.store.NonPersistentStore
      Throws:
      com.swiftmq.swiftlet.store.StoreException
    • delete

      public void delete(Object key) throws com.swiftmq.swiftlet.store.StoreException
      Specified by:
      delete in interface com.swiftmq.swiftlet.store.NonPersistentStore
      Throws:
      com.swiftmq.swiftlet.store.StoreException
    • close

      public void close() throws com.swiftmq.swiftlet.store.StoreException
      Specified by:
      close in interface com.swiftmq.swiftlet.store.NonPersistentStore
      Throws:
      com.swiftmq.swiftlet.store.StoreException
    • toString

      public String toString()
      Overrides:
      toString in class Object