Interface SwapFile

All Known Implementing Classes:
SwapFileImpl

public interface SwapFile
  • Method Details

    • getFilename

      String getFilename()
    • get

      StoreEntry get(long fp) throws Exception
      Throws:
      Exception
    • add

      long add(StoreEntry entry) throws Exception
      Throws:
      Exception
    • remove

      void remove(long fp) throws Exception
      Throws:
      Exception
    • updateDeliveryCount

      void updateDeliveryCount(long fp, int deliveryCount) throws Exception
      Throws:
      Exception
    • hasSpace

      boolean hasSpace() throws Exception
      Throws:
      Exception
    • getNumberMessages

      long getNumberMessages()
    • setNumberMessages

      void setNumberMessages(long numberMessages)
    • getMaxLength

      long getMaxLength()
    • closeNoDelete

      void closeNoDelete()
    • close

      void close()