Class DefaultPersistentStorage<V extends DigitalTwinBase>

  • Type Parameters:
    V - the type of the digital twin

    public class DefaultPersistentStorage<V extends DigitalTwinBase>
    extends PersistentStorage<V>
    Default persistent storage - transparently store and load digital twins to and from the configured default persistent storage.
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultPersistentStorage​(java.lang.String model, java.lang.Class<V> dtClazz)  
    • Method Summary

      Modifier and Type Method Description
      byte getPersistencePolicy()  
      void initialize​(java.util.HashMap<java.lang.String,​java.lang.String> conf)  
      boolean isActive()  
      V load​(java.lang.String id)  
      void store​(V object)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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