| Package | Description |
|---|---|
| gr.uoa.di.madgik.grs.reader | |
| gr.uoa.di.madgik.grs.reader.decorators | |
| gr.uoa.di.madgik.grs.reader.decorators.keepalive | |
| gr.uoa.di.madgik.grs.store.buffer |
| Modifier and Type | Method and Description |
|---|---|
int |
ForwardReader.availableRecords()
The number of readily available for consumption
Records. |
int |
RandomReader.availableRecords()
The number of readily available for consumption
Records |
int |
IRecordReader.availableRecords()
The number of readily available for consumption
Records. |
void |
ForwardReader.close()
Closes and disposes the underlying buffer.
|
void |
RandomReader.close()
Closes and disposes the underlying buffer.
|
void |
IRecordReader.close()
Closes and disposes the underlying buffer.
|
long |
ForwardReader.currentRecord()
The index of the last
Record retrieved through the reader. |
long |
RandomReader.currentRecord()
The index of the last
Record retrieved through the reader. |
long |
IRecordReader.currentRecord()
The index of the last
Record retrieved through the reader. |
void |
ForwardReader.emit(BufferEvent event)
Emits the provided event to the writer.
|
void |
RandomReader.emit(BufferEvent event)
Emits the provided event to the writer.
|
void |
IRecordReader.emit(BufferEvent event)
Emits the provided event to the writer.
|
T |
ForwardReader.get()
|
T |
RandomReader.get()
|
T |
IRecordReader.get()
|
T |
ForwardReader.get(long timeout,
TimeUnit unit)
|
T |
RandomReader.get(long timeout,
TimeUnit unit)
|
T |
IRecordReader.get(long timeout,
TimeUnit unit)
|
int |
ForwardReader.getCapacity()
The underlying
IBuffer capacity used. |
int |
RandomReader.getCapacity()
The underlying
IBuffer capacity used. |
int |
IRecordReader.getCapacity()
The underlying
IBuffer capacity used. |
int |
ForwardReader.getConcurrentPartialCapacity()
The underlying
IBuffer concurrent partial capacity used |
int |
RandomReader.getConcurrentPartialCapacity()
The underlying
IBuffer concurrent partial capacity used |
int |
IRecordReader.getConcurrentPartialCapacity()
The underlying
IBuffer concurrent partial capacity used |
long |
ForwardReader.getInactivityTimeout()
Retrieves the Inactivity timeout set for the lifecycle management of the underlying
IBuffer. |
long |
RandomReader.getInactivityTimeout()
Retrieves the Inactivity timeout set for the lifecycle management of the underlying
IBuffer. |
long |
IRecordReader.getInactivityTimeout()
Retrieves the Inactivity timeout set for the lifecycle management of the underlying
IBuffer. |
TimeUnit |
ForwardReader.getInactivityTimeUnit()
Retrieves the Inactivity time unit set for the lifecycle management of the underlying
IBuffer. |
TimeUnit |
RandomReader.getInactivityTimeUnit()
Retrieves the Inactivity time unit set for the lifecycle management of the underlying
IBuffer. |
TimeUnit |
IRecordReader.getInactivityTimeUnit()
Retrieves the Inactivity time unit set for the lifecycle management of the underlying
IBuffer. |
long |
IRecordReader.getIteratorTimeout()
The timeout that is used by the
Iterators that are created by this reader. |
RecordDefinition[] |
ForwardReader.getRecordDefinitions()
Retrieves the
RecordDefinitions that define the Records that are accessible through the reader. |
RecordDefinition[] |
RandomReader.getRecordDefinitions()
Retrieves the
RecordDefinitions that define the Records that are accessible through the reader |
RecordDefinition[] |
IRecordReader.getRecordDefinitions()
Retrieves the
RecordDefinitions that define the Records that are accessible through the reader. |
BufferEvent |
ForwardReader.receive()
Receives a previously emitted event from a writer.
|
BufferEvent |
RandomReader.receive()
Receives a previously emitted event from a writer.
|
BufferEvent |
IRecordReader.receive()
Receives a previously emitted event from a writer.
|
long |
ForwardReader.seek(long len)
|
long |
RandomReader.seek(long len)
|
long |
IRecordReader.seek(long len)
|
long |
ForwardReader.totalRecords()
|
long |
RandomReader.totalRecords()
|
long |
IRecordReader.totalRecords()
|
boolean |
ForwardReader.waitAvailable(long timeout,
TimeUnit unit)
Makes sure that within the provided time frame, there is a
Record that can be retrieved without blocking. |
boolean |
RandomReader.waitAvailable(long timeout,
TimeUnit unit)
Makes sure that within the provided time frame, there is a
Record that can be retrieved without blocking. |
boolean |
IRecordReader.waitAvailable(long timeout,
TimeUnit unit)
Makes sure that within the provided time frame, there is a
Record that can be retrieved without blocking. |
| Constructor and Description |
|---|
ForwardReader(URI locator)
Creates a new reader accessing the
IBuffer referenced by the provided locator |
ForwardReader(URI locator,
int capacity)
Creates a new reader accessing the
IBuffer referenced by the provided locator. |
RandomReader(URI locator)
Creates a new reader accessing the
IBuffer referenced by the provided locator |
RandomReader(URI locator,
int capacity)
|
| Modifier and Type | Method and Description |
|---|---|
int |
RecordReaderDelegate.availableRecords()
The number of readily available for consumption
Records. |
void |
RecordReaderDelegate.close()
Closes and disposes the underlying buffer.
|
long |
RecordReaderDelegate.currentRecord()
The index of the last
Record retrieved through the reader. |
void |
RecordReaderDelegate.emit(BufferEvent event)
Emits the provided event to the writer.
|
T |
RecordReaderDelegate.get()
|
T |
RecordReaderDelegate.get(long timeout,
TimeUnit unit)
|
int |
RecordReaderDelegate.getCapacity()
The underlying
IBuffer capacity used. |
int |
RecordReaderDelegate.getConcurrentPartialCapacity()
The underlying
IBuffer concurrent partial capacity used |
long |
RecordReaderDelegate.getInactivityTimeout()
Retrieves the Inactivity timeout set for the lifecycle management of the underlying
IBuffer. |
TimeUnit |
RecordReaderDelegate.getInactivityTimeUnit()
Retrieves the Inactivity time unit set for the lifecycle management of the underlying
IBuffer. |
long |
RecordReaderDelegate.getIteratorTimeout()
The timeout that is used by the
Iterators that are created by this reader. |
RecordDefinition[] |
RecordReaderDelegate.getRecordDefinitions()
Retrieves the
RecordDefinitions that define the Records that are accessible through the reader. |
BufferEvent |
RecordReaderDelegate.receive()
Receives a previously emitted event from a writer.
|
long |
RecordReaderDelegate.seek(long len)
|
long |
RecordReaderDelegate.totalRecords()
|
boolean |
RecordReaderDelegate.waitAvailable(long timeout,
TimeUnit unit)
Makes sure that within the provided time frame, there is a
Record that can be retrieved without blocking. |
| Modifier and Type | Method and Description |
|---|---|
long |
KeepAliveReader.currentRecord()
The index of the last
Record retrieved through the reader. |
T |
KeepAliveReader.get()
Retrieves the next available record, which will be either one of the records retrieved via the keep-alive operation or
a record retrieved directly from the underlying
IRecordReader |
T |
KeepAliveReader.get(long timeout,
TimeUnit unit)
Retrieves the next available record, which will be either one of the records retrieved via the keep-alive operation or
a record retrieved directly from the underlying
IRecordReader |
long |
KeepAliveReader.seek(long len)
|
| Modifier and Type | Method and Description |
|---|---|
void |
BufferStoreEntry.initialize()
After all configuration values have been set, this method initializes the
IRecordStore, the ForwardReader,
and persists the reader available RecordDefinitions |
Copyright © 2014. All Rights Reserved.