Interface HistorianManager
- All Known Implementing Classes:
HistorianManagerImpl
public interface HistorianManager
The HistorianManager interface defines methods for retrieving and
managing historian-related components in the system.
It provides functionality to obtain historian names, storage engines,
and query engines based on the historian identifier.
-
Method Summary
Modifier and TypeMethodDescriptionstatic HistorianManagerget(GatewayContext context) Retrieves theHistorianManagerassociated with the givenGatewayContext.Retrieves a collection of historian names available in the system.getQueryEngine(String historianName) Retrieves theQueryEngineassociated with the specified historian name, if available.getStorageEngine(String historianName) Retrieves theStorageEngineassociated with the specified historian name, if available.
-
Method Details
-
getHistorianNames
Collection<String> getHistorianNames()Retrieves a collection of historian names available in the system.- Returns:
- a
CollectionofStringrepresenting the names of available historians
-
getStorageEngine
Retrieves theStorageEngineassociated with the specified historian name, if available. TheStorageEngineserves as the interface for managing data storage and retrieval operations for the given historian.- Parameters:
historianName- the name of the historian for which the storage engine is to be retrieved; must not be null- Returns:
- an
Optionalcontaining theStorageEngineif one is available for the specified historian, or an emptyOptionalotherwise
-
getQueryEngine
Retrieves theQueryEngineassociated with the specified historian name, if available. TheQueryEngineprovides methods for querying historical data managed by the specified historian.- Parameters:
historianName- the name of the historian for which the query engine is to be retrieved; must not be null- Returns:
- an
Optionalcontaining theQueryEngineif one is available for the specified historian, or an emptyOptionalotherwise
-
get
Retrieves theHistorianManagerassociated with the givenGatewayContext.- Parameters:
context- theGatewayContextinstance used to retrieve theHistorianManager; must not be null- Returns:
- the
HistorianManagerassociated with the providedGatewayContext
-