Class HistorianSink

    • Constructor Detail

    • Method Detail

      • setLicenseProvider

        public void setLicenseProvider​(java.util.function.Supplier<java.lang.Boolean> licenseSupplier)
      • getInfo

        public java.util.List<DataSinkInformation> getInfo()
        Description copied from interface: DataSink
        Gets the information for this sink, as well as any below it.
      • acceptsData

        public boolean acceptsData​(HistoryFlavor dataType)
        Description copied from interface: HistoryStorer
        Returns whether or not the storer can accept the specified type of data.
      • isLicensedFor

        public boolean isLicensedFor​(HistoryFlavor dataType)
        Description copied from interface: HistoryStorer
        Assuming the storer accepts the flavor, is it currently licensed for it? If not, the data will not be stored.
      • storeData

        public void storeData​(HistoricalData data)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception