Package com.powsybl.afs.storage
Class AbstractAppStorage
- java.lang.Object
-
- com.powsybl.afs.storage.AbstractAppStorage
-
- All Implemented Interfaces:
AppStorage
,AutoCloseable
public abstract class AbstractAppStorage extends Object implements AppStorage
- Author:
- Chamseddine Benhamed
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
APPSTORAGE_DEPENDENCY_TOPIC
protected static String
APPSTORAGE_NODE_TOPIC
protected static String
APPSTORAGE_TIMESERIES_TOPIC
protected EventsBus
eventsBus
-
Constructor Summary
Constructors Constructor Description AbstractAppStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventsBus
getEventsBus()
Get the events store.protected void
pushEvent(NodeEvent event, String topic)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.afs.storage.AppStorage
addDependency, addDoubleTimeSeriesData, addStringTimeSeriesData, checkFileSystem, clearTimeSeries, close, createNode, createRootNodeIfNotExists, createTimeSeries, dataExists, deleteNode, flush, getBackwardDependencies, getChildNode, getChildNodes, getDataNames, getDependencies, getDependencies, getDoubleTimeSeriesData, getFileSystemName, getInconsistentNodes, getNodeInfo, getParentNode, getStringTimeSeriesData, getSupportedFileSystemChecks, getTimeSeriesDataVersions, getTimeSeriesDataVersions, getTimeSeriesMetadata, getTimeSeriesNames, isClosed, isConsistent, isRemote, isWritable, readBinaryData, removeData, removeDependency, renameNode, setConsistent, setDescription, setMetadata, setParentNode, timeSeriesExists, updateModificationTime, writeBinaryData
-
-
-
-
Field Detail
-
APPSTORAGE_NODE_TOPIC
protected static final String APPSTORAGE_NODE_TOPIC
- See Also:
- Constant Field Values
-
APPSTORAGE_DEPENDENCY_TOPIC
protected static final String APPSTORAGE_DEPENDENCY_TOPIC
- See Also:
- Constant Field Values
-
APPSTORAGE_TIMESERIES_TOPIC
protected static final String APPSTORAGE_TIMESERIES_TOPIC
- See Also:
- Constant Field Values
-
eventsBus
protected EventsBus eventsBus
-
-
Method Detail
-
getEventsBus
public EventsBus getEventsBus()
Description copied from interface:AppStorage
Get the events store.- Specified by:
getEventsBus
in interfaceAppStorage
-
-