| Package | Description |
|---|---|
| gr.uoa.di.madgik.grs.buffer | |
| gr.uoa.di.madgik.grs.record | |
| gr.uoa.di.madgik.grs.record.field |
| Modifier and Type | Class and Description |
|---|---|
class |
GRS2BufferDisposedException
Exception indicating that the buffer is already disposed and no additional actions can be performed on it
|
class |
GRS2BufferInitializationException
Initialization related error of the buffer sub component
|
class |
GRS2BufferInvalidArgumentException
Argument not valid for the buffer sub component operation that is undergoing
|
class |
GRS2BufferInvalidOperationException
The operation in progress is not valid based on the status of the buffer sub component
|
| Modifier and Type | Method and Description |
|---|---|
int |
IBuffer.availableRecords()
Retrieves the number of
Records that are currently available to be read |
void |
IBuffer.close()
|
void |
IBuffer.emit(BufferEvent event)
Emits a
BufferEvent targeted to the other end of the IBuffer usage. |
Record |
IBuffer.get()
|
int |
IBuffer.getCapacity()
Retrieves the capacity of the underlying bounded buffer that can store the
Records that a writer adds to it |
int |
IBuffer.getConcurrentPartialCapacity()
Retrieves the number of items that a reader can concurrently request more of its payload in case this payload
is transported in
IBuffer.TransportDirective.Partial mode. |
int |
QueueBuffer.getConcurrentPartialCapacity()
Retrieves the number of items that a reader can concurrently request more of its payload in case this payload
is transported in
IBuffer.TransportDirective.Partial mode. |
long |
IBuffer.getInactivityTimeout()
Retrieves the timeout after which if the buffer has remained inactive is eligible for purging.
|
TimeUnit |
IBuffer.getInactivityTimeUnit()
Retrieves the timeout
TimeUnit after which if the buffer has remained inactive is eligible for purging. |
int |
IBuffer.getMirrorBuffer()
|
Object |
IBuffer.getReaderImmediateNotificationObject()
|
RecordDefinition[] |
IBuffer.getRecordDefinitions()
Retrieves the definitions of the
Records provided using IBuffer.setRecordDefinitions(RecordDefinition[]) |
IBuffer.TransportDirective |
IBuffer.getTransportDirective()
Retrieves the
IBuffer.TransportDirective set for the IBuffer. |
Object |
IBuffer.getWriterImmediateNotificationObject()
|
void |
IBuffer.initialize()
|
Record |
IBuffer.locate(long recordIndex)
|
boolean |
IBuffer.put(Record record)
|
boolean |
QueueBuffer.put(Record record)
|
BufferEvent |
IBuffer.receive(BufferEvent.EventSource source)
Receives a
BufferEvent emitted by the other end of the IBuffer usage. |
IBuffer.TransportDirective |
IBuffer.resolveTransportDirective()
Resolves the set
IBuffer.TransportDirective set for the IBuffer through
IBuffer.setTransportDirective(TransportDirective). |
void |
IBuffer.setBufferStore(IBufferStore store)
If the current
IBuffer is served by a IBufferStore, the is set
so that its last activity time is set everytime the IBuffer's activity time is also
updated |
void |
QueueBuffer.setBufferStore(IBufferStore store)
If the current
IBuffer is served by a IBufferStore, the is set
so that its last activity time is set everytime the IBuffer's activity time is also
updated |
void |
IBuffer.setCapacity(int capacity)
Sets the capacity of the underlying bounded buffer that can store the
Records that a writer adds to it. |
void |
IBuffer.setConcurrentPartialCapacity(int capacity)
Sets the number of items that a reader can concurrently request more of its payload in case this payload
is transported in
IBuffer.TransportDirective.Partial mode. |
void |
IBuffer.setInactivityTimeout(long timeout)
Sets the timeout after which if the buffer has remained inactive is eligible for purging.
|
void |
IBuffer.setInactivityTimeUnit(TimeUnit unit)
Sets the timeout
TimeUnit after which if the buffer has remained inactive is eligible for purging. |
void |
IBuffer.setKey(String key)
In case this
IBuffer is registered to be served to a reader, the key by which it is registered is provided |
void |
IBuffer.setMirrorBuffer(int size)
|
void |
IBuffer.setRecordDefinitions(RecordDefinition[] definitions)
|
void |
IBuffer.setTransportDirective(IBuffer.TransportDirective directive)
Sets the
IBuffer.TransportDirective set for the IBuffer. |
long |
IBuffer.totalRecords()
|
| Modifier and Type | Method and Description |
|---|---|
void |
Record.bind(IBuffer buffer)
|
RecordDefinition |
Record.getDefinition()
Retrieves the
RecordDefinition associated with this Record. |
Field |
Record.getField(String name)
Retrieve the
Field with the specified name |
void |
Record.makeAvailable()
For all hosted
Fields, the method Record.makeAvailable(int) |
void |
Record.makeAvailable(int fieldIndex)
For the specified
Field with the set index, the method Record#makeAvailable(TransportOverride, int) with a
value of IBuffer.TransportOverride.Override |
void |
Record.makeAvailable(String fieldName)
For the specified
Field with the set name, the method Record#makeAvailable(TransportOverride, int) with a
value of IBuffer.TransportOverride.Override |
IBuffer.TransportDirective |
Record.resolveTransportDirective()
Resolves the
IBuffer.TransportDirective that should be used fir this record. |
| Modifier and Type | Method and Description |
|---|---|
void |
Field.makeAvailable()
Makes fully available the content of the
Field by invoking Field#makeAvailable(TransportOverride) with a
IBuffer.TransportOverride.Override value |
void |
Field.makeAvailable(IBuffer.TransportOverride override)
Invokes the bound
Record's Record#requestPartial(TransportOverride, int) method with the provided
IBuffer.TransportOverride value |
IBuffer.TransportDirective |
Field.resolveTransportDirective()
Resolves the transport directive that needs to be used by this
Field. |
Copyright © 2014. All Rights Reserved.