Class DeadbandCompressor
java.lang.Object
com.inductiveautomation.historian.gateway.tags.actor.compression.DeadbandCompressor
- All Implemented Interfaces:
ValueCompressor
,Diagnosable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionflush()
Tells the compressor to return any values it can.putValue
(QualifiedValue value) Places a value into the compressor to be processed.void
sampleDiagnostics
(DiagnosticsSample sample) Provides the sample upon which the object can set diagnostics information.toString()
-
Constructor Details
-
DeadbandCompressor
-
-
Method Details
-
getDeadbandMode
- Specified by:
getDeadbandMode
in interfaceValueCompressor
-
sampleDiagnostics
Description copied from interface:Diagnosable
Provides the sample upon which the object can set diagnostics information. It is expected that the calling object will first callgetSubSample()
in order to specify a useful identifier for this object's data.- Specified by:
sampleDiagnostics
in interfaceDiagnosable
-
putValue
Description copied from interface:ValueCompressor
Places a value into the compressor to be processed. Any available processed values are returned. Will return an empty list if no values should be emitted (will not return null).Important: For performance reasons, the list returned may be the same object between calls. Therefore, it should not be held onto. The values should be utilized directly after calling this function.
- Specified by:
putValue
in interfaceValueCompressor
-
flush
Description copied from interface:ValueCompressor
Tells the compressor to return any values it can. Can be used before shutdown, or when the max-age has been reached in order to force values to be written.Important: For performance reasons, the list returned may be the same object between calls. Therefore, it should not be held onto. The values should be utilized directly after calling this function.
- Specified by:
flush
in interfaceValueCompressor
-
toString
-