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 HistorianManager
get
(GatewayContext context) Retrieves theHistorianManager
associated with the givenGatewayContext
.Retrieves a collection of historian names available in the system.getQueryEngine
(String historianName) Retrieves theQueryEngine
associated with the specified historian name, if available.getStorageEngine
(String historianName) Retrieves theStorageEngine
associated 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
Collection
ofString
representing the names of available historians
-
getStorageEngine
Retrieves theStorageEngine
associated with the specified historian name, if available. TheStorageEngine
serves 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
Optional
containing theStorageEngine
if one is available for the specified historian, or an emptyOptional
otherwise
-
getQueryEngine
Retrieves theQueryEngine
associated with the specified historian name, if available. TheQueryEngine
provides 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
Optional
containing theQueryEngine
if one is available for the specified historian, or an emptyOptional
otherwise
-
get
Retrieves theHistorianManager
associated with the givenGatewayContext
.- Parameters:
context
- theGatewayContext
instance used to retrieve theHistorianManager
; must not be null- Returns:
- the
HistorianManager
associated with the providedGatewayContext
-