Package com.powsybl.afs.storage
Interface ListenableAppStorage
-
- All Superinterfaces:
AppStorage
,AutoCloseable
public interface ListenableAppStorage extends AppStorage
A listenableAppStorage
. Listeners will be notified of NodeEvents happening on the storage: node creation, removal, etc. WARNING: you will need to keep a reference to your listeners, otherwise they may be garbage collected.- Author:
- Geoffroy Jamgotchian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(AppStorageListener l)
Add anAppStorageListener
which will be notified of events happening on this storage.void
removeListener(AppStorageListener l)
void
removeListeners()
-
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, getEventsBus, 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
-
-
-
-
Method Detail
-
addListener
void addListener(AppStorageListener l)
Add anAppStorageListener
which will be notified of events happening on this storage. WARNING: you will need to keep a reference to your listeners, otherwise they may be garbage collected.
-
removeListener
void removeListener(AppStorageListener l)
-
removeListeners
void removeListeners()
-
-