Interface PersistentStore

All Known Implementing Classes:
IdvObjectStore, SerializedObjectStore, XmlObjectStore

public interface PersistentStore
Abstraction for storing persistent objects. HashMap-like interface. objects must be persistent across JVM invocations
Author:
John Caron
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Object key)
    get the value specified by this key.
    void
    put(Object key, Object value)
    Put the key value pair.
    void
    save the current state of the PersistentStore to disk.
  • Method Details

    • get

      Object get(Object key)
      get the value specified by this key.
      Parameters:
      key - the key
      Returns:
      the object
    • put

      void put(Object key, Object value)
      Put the key value pair.
      Parameters:
      key - the key
      value - the value
    • save

      void save()
      save the current state of the PersistentStore to disk.