Class FilePersistenceManager

    • Constructor Summary

      Constructors 
      Constructor Description
      FilePersistenceManager​(java.lang.String propertiesFilename)
      Default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Clears the complete NV state from the DB
      protected java.util.Map filterLoadedValues​(java.util.Map in)
      Turns the values into Floats to enable DistributedHashtableDemo to work.
      java.io.Serializable remove​(java.io.Serializable key)
      Remove existing NV from being persisted
      java.util.Map retrieveAll()
      Gives back the Map in last known state
      void save​(java.io.Serializable key, java.io.Serializable val)
      Save new NV pair as serializable objects or if already exist; store new state
      void saveAll​(java.util.Map map)
      Use to store a complete map into persistent state
      void shutDown()
      Used to handle shutdown call the PersistenceManager implementation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait