public interface IDatasetConnector extends IFileConnection, IDynamicShape
UNLIMITED
Modifier and Type | Method and Description |
---|---|
String |
connect()
Same as calling connect(500, TimeUnit.MILLISECOND)
This will connect with the DataServer to start listening
to any updates to the file should it be written in the remote file system.
|
String |
connect(long time,
TimeUnit unit)
This will connect with the DataServer to start listening
to any updates to the file should it be written in the remote file system.
|
void |
disconnect()
Stops listening to the dataset changing and disconnects from the server.
|
String |
getDatasetName()
The dataset location/name in the file
|
boolean |
isWritingExpected() |
void |
setDatasetName(String datasetName)
The dataset location/name in the file
|
void |
setWritingExpected(boolean expectWrite)
If set to true the DataServer will not cache the dataset.
|
getPath, setPath
addDataListener, fireDataListeners, getDataset, getMaxShape, refreshShape, removeDataListener, resize, setMaxShape, startUpdateChecker
String getDatasetName()
void setDatasetName(String datasetName)
datasetName
- namevoid setWritingExpected(boolean expectWrite)
expectWrite
- true if server should expect more databoolean isWritingExpected()
String connect() throws DatasetException
DatasetException
- when cannot connectString connect(long time, TimeUnit unit) throws DatasetException
time
- amount to waitunit
- of timeDatasetException
- when cannot connectvoid disconnect() throws DatasetException
DatasetException
- when cannot disconnectCopyright © 2014–2022 Eclipse Foundation. All rights reserved.