@Deprecated public interface StreamingAccess extends Dataset
Dataset
interface to support
streaming capabilities.Dataset.DatasetType
Modifier and Type | Field and Description |
---|---|
static int |
HIERARCHICAL_SYNOPSIS
Deprecated.
|
static int |
REG_EXPRESSIONS_SYNOPSIS
Deprecated.
|
static int |
STRING_SYNOPSIS
Deprecated.
|
static int |
TAG_VALUE_PAIRS
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
addInputStream(String streamSynopsis,
int synopsisType)
Deprecated.
Add an input stream to this dataset.
|
int |
addInputStreams(ConcurrentHashMap<String,Integer> streamsToAdd)
Deprecated.
Adds a set of input streams to this dataset.
|
int |
addOutputStream(String streamSynopsis,
int synopsisType)
Deprecated.
Add an output stream to this dataset.
|
int |
addOutputStreams(ConcurrentHashMap<String,Integer> streamsToAdd)
Deprecated.
Adds a set of output streams to this dataset.
|
void |
commitUpdates()
Deprecated.
Commit any changes that have been made to the set of streams managed by
this dataset.
|
ConcurrentHashMap<String,Integer> |
getInputStreams()
Deprecated.
Retrieve a HashMap of the constituent input streams.
|
int |
getNumberOfInputStreams()
Deprecated.
Retrieve the number of input streams in this dataset
|
int |
getNumberOfOutputStreams()
Deprecated.
Retrieve the number of output streams in this dataset.
|
ConcurrentHashMap<String,Integer> |
getOutputStreams()
Deprecated.
Retrieve a HashMap of the constituent output streams.
|
cgl.narada.event.NBEvent |
getStreamingData()
Deprecated.
Retrieves a portion of the streaming dataset when data is available.
|
boolean |
hasInputStreams()
Deprecated.
Check to see if this dataset has any registered input streams.
|
boolean |
hasOutputStreams()
Deprecated.
Check to see if this dataset has any registered output streams.
|
int |
removeInputStream(String streamSynopsis)
Deprecated.
Removes an input stream from this dataset.
|
int |
removeInputStreams(ConcurrentHashMap<String,Integer> streamsToRemove)
Deprecated.
Removes a set of input streams from this dataset.
|
int |
removeOutputStream(String streamSynopsis)
Deprecated.
Removes an output stream from this dataset.
|
int |
removeOutputStreams(ConcurrentHashMap<String,Integer> streamsToRemove)
Deprecated.
Removes a set of output streams from this dataset.
|
void |
writeStreamingData(int synopsisType,
Object streamInfo,
byte[] payload)
Deprecated.
This method writes data to the output dataset.
|
void |
writeStreamingData(cgl.narada.event.NBEvent nbEvent)
Deprecated.
This method writes data to the output dataset.
|
void |
writeStreamingData(Object streamInfo,
byte[] payload)
Deprecated.
This method writes data to the output dataset.
|
close, getDataAvailabilityNotifier, getDatasetIdentifier, getDatasetType, getDescription, getLastModificationTime, initializeDataset, isAvailable, isDataAvailable, isInitialized, supportsDataAvailabilityNotifications
static final int STRING_SYNOPSIS
static final int TAG_VALUE_PAIRS
static final int REG_EXPRESSIONS_SYNOPSIS
static final int HIERARCHICAL_SYNOPSIS
cgl.narada.event.NBEvent getStreamingData() throws DatasetException
DatasetException
- If there are problems performing the operationvoid writeStreamingData(cgl.narada.event.NBEvent nbEvent) throws DatasetException
nbEvent
- The stream fragment that needs to be writtenDatasetException
- If there are problems performing the operationvoid writeStreamingData(Object streamInfo, byte[] payload) throws DatasetException
streamInfo
- The stream being written topayload
- The payload for the individual stream fragmentsDatasetException
- If there are problems performing the operationvoid writeStreamingData(int synopsisType, Object streamInfo, byte[] payload) throws DatasetException
synopsisType
- The synopsis Type for the streamstreamInfo
- The stream being written topayload
- The payload for the individual stream fragmentsDatasetException
- If there are problems performing the operationint addInputStream(String streamSynopsis, int synopsisType) throws DatasetException
streamSynopsis
- The synopsis of the streamsynopsisType
- The type of the stream's synopsisDatasetException
- If there are problems adding this stream to the set of
managed streamsint removeInputStream(String streamSynopsis) throws DatasetException
streamSynopsis
- The synopsis of the stream that will be removed.DatasetException
- If there are problems removing this stream from the set of
managed streamsint addInputStreams(ConcurrentHashMap<String,Integer> streamsToAdd) throws DatasetException
streamsToAdd
- The set of streams to be addedDatasetException
- If there are problems adding these streams to the set of
managed streamsNullPointerException
- If the specified set of streams is NULL.int removeInputStreams(ConcurrentHashMap<String,Integer> streamsToRemove) throws DatasetException
streamsToRemove
- The set of streams to be addedDatasetException
- If there are problems removing these streams to the set of
managed streamsNullPointerException
- If the specified set of streams is NULL.boolean hasInputStreams()
true
if this dataset has any registered input
streams;false
otherwise.int getNumberOfInputStreams()
ConcurrentHashMap<String,Integer> getInputStreams()
int addOutputStream(String streamSynopsis, int synopsisType) throws DatasetException
streamSynopsis
- The synopsis of the streamsynopsisType
- The type of the stream's synopsisDatasetException
- If there are problems adding this stream to the set of
managed streamsint removeOutputStream(String streamSynopsis) throws DatasetException
streamSynopsis
- The synopsis of the stream that will be removed.DatasetException
- If there are problems removing this stream from the set of
managed streamsint addOutputStreams(ConcurrentHashMap<String,Integer> streamsToAdd) throws DatasetException
streamsToAdd
- The set of output streams to be addedDatasetException
- If there are problems adding these streams to the set of
managed streamsNullPointerException
- If the specified set of streams is NULL.int removeOutputStreams(ConcurrentHashMap<String,Integer> streamsToRemove) throws DatasetException
streamsToRemove
- The set of output streams to be removedDatasetException
- If there are problems removing these streams from the set of
managed streamsNullPointerException
- If the specified set of streams is NULL.boolean hasOutputStreams()
true
if this dataset has any registered output
streams;false
otherwise.int getNumberOfOutputStreams()
ConcurrentHashMap<String,Integer> getOutputStreams()
void commitUpdates() throws DatasetException
DatasetException
Copyright © 2015. All rights reserved.