Class EmptyCollectionContext
java.lang.Object
com.inductiveautomation.historian.gateway.api.storage.realtime.EmptyCollectionContext
- All Implemented Interfaces:
CollectionContext
A property-less implementation of CollectionContext that represents a "no context" state.
This implementation is a singleton and only provides the minimum required functionality.
When a DataCollector receives this context, it should perform a collection operation without considering any specific collection parameters like ID, source, or scheduling.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.historian.gateway.api.storage.realtime.CollectionContext
CollectionContext.Builder, CollectionContext.StandardProperties
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.historian.gateway.api.storage.realtime.CollectionContext
collectionId, collectionInterval, collectionSource, collectionTime, isHeartbeat, valueOrigin
-
Method Details
-
hasProperty
- Specified by:
hasProperty
in interfaceCollectionContext
-
getValue
- Specified by:
getValue
in interfaceCollectionContext
-
getProperties
- Specified by:
getProperties
in interfaceCollectionContext
-
isEmpty
public boolean isEmpty()Description copied from interface:CollectionContext
Checks if this context is empty (has no properties or only default ones).- Specified by:
isEmpty
in interfaceCollectionContext
- Returns:
true
if this is an empty context,false
otherwise
-
toString
-
equals
-
hashCode
public int hashCode()
-