| Package | Description |
|---|---|
| gr.uoa.di.madgik.grs.store.buffer | |
| gr.uoa.di.madgik.grs.writer |
| Modifier and Type | Method and Description |
|---|---|
URI |
BufferStoreReader.populate()
Starts the background execution of the demultiplex procedure and authors the restored
Records
using an RecordWriter whose locator is then returned |
| Constructor and Description |
|---|
BufferStoreReader(String key,
IWriterProxy proxy)
Creates a new instance
|
| Modifier and Type | Class and Description |
|---|---|
class |
GRS2WriterInvalidArgumentException
Argument not valid for the writer sub component operation that is undergoing
|
class |
GRS2WriterInvalidOperationException
Operation not valid for the writer sub component operation that is undergoing
|
| Modifier and Type | Method and Description |
|---|---|
int |
RecordWriter.availableRecords()
The number of readily available for consumption
Records |
int |
IRecordWriter.availableRecords()
The number of readily available for consumption
Records |
void |
RecordWriter.close()
Closes the underlying buffer.
|
void |
IRecordWriter.close()
Closes the underlying buffer.
|
void |
RecordWriter.emit(BufferEvent event)
Emits the provided event to the reader.
|
void |
IRecordWriter.emit(BufferEvent event)
Emits the provided event to the reader.
|
int |
RecordWriter.getCapacity()
The underlying
IBuffer capacity used |
int |
IRecordWriter.getCapacity()
The underlying
IBuffer capacity used |
URI |
RecordWriter.getLocator() |
URI |
IRecordWriter.getLocator() |
boolean |
RecordWriter.put(T record)
|
boolean |
IRecordWriter.put(T record)
|
boolean |
RecordWriter.put(Throwable th,
long timeout,
TimeUnit unit) |
boolean |
RecordWriter.put(T record,
long timeout,
TimeUnit unit)
|
boolean |
IRecordWriter.put(T record,
long timeout,
TimeUnit unit)
|
BufferEvent |
RecordWriter.receive()
Receives a previously emitted event from a reader
|
BufferEvent |
IRecordWriter.receive()
Receives a previously emitted event from a reader
|
void |
RecordWriter.setBufferStore(IBufferStore store)
If this writer is populated by an
IBufferStore this store is provided in order to keep the store
alive and active even after the respective BufferStoreReader has closed the writer but the client
reader is still using it |
void |
IRecordWriter.setBufferStore(IBufferStore store)
If this writer is populated by an
IBufferStore this store is provided in order to keep the store
alive and active even after the respective BufferStoreReader has closed the writer but the client
reader is still using it |
long |
RecordWriter.totalRecords()
|
long |
IRecordWriter.totalRecords()
|
| Constructor and Description |
|---|
RecordWriter(IWriterProxy proxy,
IRecordReader reader)
Creates a new instance using the configuration retrieved from an
IRecordReader. |
RecordWriter(IWriterProxy proxy,
IRecordReader reader,
int capacity,
int concurrentPartialCapacity,
float mirrorSizeFactor)
Creates a new instance using the same record definitions as the ones of the supplied
IRecordReader. |
RecordWriter(IWriterProxy proxy,
IRecordReader reader,
int capacity,
int concurrentPartialCapacity,
float mirrorSizeFactor,
long inactivityTimeout,
TimeUnit inactivityTimeUnit)
Creates a new instance using the same record definitions as the ones of the supplied
IRecordReader. |
RecordWriter(IWriterProxy proxy,
RecordDefinition[] definitions)
Creates a new instance
|
RecordWriter(IWriterProxy proxy,
RecordDefinition[] definitions,
int capacity,
int concurrentPartialCapacity,
float mirrorSizeFactor)
Creates a new instance
|
RecordWriter(IWriterProxy proxy,
RecordDefinition[] definitions,
int capacity,
int concurrentPartialCapacity,
float mirrorSizeFactor,
long inactivityTimeout,
TimeUnit inactivityTimeUnit)
Creates a new instance
|
Copyright © 2014. All Rights Reserved.