Class SQLiteHistorian.SQLiteStorageSession

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SQLiteStorageSession()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      protected int commitBatch()  
      void init()  
      protected SQLiteHistorian.Tag insertTag​(java.lang.String tagPath)  
      void store​(java.lang.String tag, java.lang.Object value, int quality, long timestamp)
      Stores a value for the given tag path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SQLiteStorageSession

        protected SQLiteStorageSession()
    • Method Detail

      • init

        public void init()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • store

        public void store​(@Nonnull
                          java.lang.String tag,
                          @Nullable
                          java.lang.Object value,
                          int quality,
                          long timestamp)
                   throws java.lang.Exception
        Description copied from interface: StorageSession
        Stores a value for the given tag path.
        Specified by:
        store in interface StorageSession
        Throws:
        java.lang.Exception
      • commitBatch

        protected int commitBatch()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception