public class StorageImpl extends AbstractStorage
Constructor and Description |
---|
StorageImpl() |
Modifier and Type | Method and Description |
---|---|
NotifyFuture<Void> |
deleteNode(String nodeId) |
void |
dispose()
Dispose the service.
|
protected Executor |
getExecutor()
Provide an executor for sending events
|
NotifyFuture<DataNode> |
readNode(String nodeId)
Get the data node
|
NotifyFuture<Void> |
writeNode(DataNode node) |
attachListener, detachListener, fireUpdate
public StorageImpl() throws IOException
IOException
protected Executor getExecutor()
AbstractStorage
This method is only called after the constructor is completed
getExecutor
in class AbstractStorage
null
public void dispose()
AbstractStorage
This method still needs a valid executor using AbstractStorage.getExecutor()
.
dispose
in class AbstractStorage
public NotifyFuture<DataNode> readNode(String nodeId)
DataStore
readNode
in interface DataStore
readNode
in class AbstractStorage
nodeId
- the id of the node to getnull
if the node does not exists.public NotifyFuture<Void> writeNode(DataNode node)
public NotifyFuture<Void> deleteNode(String nodeId)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.