Class SessionStorage

java.lang.Object
dev.prozilla.pine.core.storage.Storage
dev.prozilla.pine.core.storage.SessionStorage
All Implemented Interfaces:
Destructible, Initializable, Printable, Transceivable<Storage>, Transmittable<Storage>

public class SessionStorage extends Storage
A key-value store that is reset when the application closes.
  • Constructor Details

    • SessionStorage

      public SessionStorage(Application application)
  • Method Details

    • load

      protected void load()
      Description copied from class: Storage
      Loads items into this store.
      Specified by:
      load in class Storage
    • save

      protected void save()
      Description copied from class: Storage
      Saves the items from this store.
      Specified by:
      save in class Storage