Interface Cache

All Known Implementing Classes:
CacheImpl

public interface Cache
  • Method Details

    • setCacheTable

      void setCacheTable(Map cacheTable)
    • getCacheTable

      Map getCacheTable()
    • setMaxMessages

      void setMaxMessages(int size)
    • getMaxMessages

      int getMaxMessages()
    • setMaxBytesKB

      void setMaxBytesKB(int size)
    • getMaxBytesKB

      int getMaxBytesKB()
    • getCurrentMessages

      int getCurrentMessages()
    • getCurrentBytesKB

      int getCurrentBytesKB()
    • put

      void put(StoreId storeId, MessageImpl message) throws Exception
      Throws:
      Exception
    • get

      MessageEntry get(StoreId storeId) throws Exception
      Throws:
      Exception
    • remove

      void remove(StoreId storeId) throws Exception
      Throws:
      Exception
    • clear

      void clear()