|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GRS2BufferException | |
|---|---|
| gr.uoa.di.madgik.grs.buffer | |
| gr.uoa.di.madgik.grs.record | |
| gr.uoa.di.madgik.grs.record.field | |
| Uses of GRS2BufferException in gr.uoa.di.madgik.grs.buffer |
|---|
| Subclasses of GRS2BufferException in gr.uoa.di.madgik.grs.buffer | |
|---|---|
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 |
| Methods in gr.uoa.di.madgik.grs.buffer that throw GRS2BufferException | |
|---|---|
int |
IBuffer.availableRecords()
Retrieves the number of Records that are currently available to be read |
void |
IBuffer.close()
Closes the authoring side of the IBuffer after this invocation, no more Records can be added
to the IBuffer but a reader can still consume any Records that are still available. |
void |
IBuffer.emit(BufferEvent event)
Emits a BufferEvent targeted to the other end of the IBuffer usage. |
Record |
IBuffer.get()
Attempts to retrieve a Record from the IBuffer. |
int |
IBuffer.getCapacity()
Retrieves the capacity of the underlying bounded buffer that can store the Records that a writer adds to it |
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. |
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. |
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()
If an IMirror is used to synchronize the IBuffer instances accessible to the reader and writer,
this value indicates the number of Records that the writer IMirror} will limit its sending
phase to choke large transfers |
Object |
IBuffer.getReaderImmediateNotificationObject()
Using this object, a reader can be blocked using a standard synchronized / wait block to be notified by the IBuffer when the writer has increased its available Records by one |
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()
Using this object, a writer can be blocked using a standard synchronized / wait block to be notified by the IBuffer when the reader has reduced its available Records by one |
void |
IBuffer.initialize()
After all configuration values have been set, this method performs all the initialization needed to get the IBuffer ready to receive Records from a writer and serve them to a reader. |
Record |
IBuffer.locate(long recordIndex)
Attempts to locate the Record with the provided id in the underlying IBuffer structures. |
boolean |
QueueBuffer.put(Record record)
Attempts to place a Record to the IBuffer. |
boolean |
IBuffer.put(Record record)
Attempts to place a Record to the IBuffer. |
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 |
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.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)
If an IMirror is used to synchronize the IBuffer instances accessible to the reader and writer,
this value indicates the number of Records that the writer IMirror} will limit its sending
phase to choke large transfers. |
void |
IBuffer.setRecordDefinitions(RecordDefinition[] definitions)
Sets the definitions of the Records that are to be placed in the IBuffer. |
void |
IBuffer.setTransportDirective(IBuffer.TransportDirective directive)
Sets the IBuffer.TransportDirective set for the IBuffer. |
long |
IBuffer.totalRecords()
Retrieves the number of Records that have in total passed through the IBuffer. |
| Uses of GRS2BufferException in gr.uoa.di.madgik.grs.record |
|---|
| Methods in gr.uoa.di.madgik.grs.record that throw GRS2BufferException | |
|---|---|
void |
Record.bind(IBuffer buffer)
Binds the Record to the provided IBuffer. |
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. |
| Uses of GRS2BufferException in gr.uoa.di.madgik.grs.record.field |
|---|
| Methods in gr.uoa.di.madgik.grs.record.field that throw GRS2BufferException | |
|---|---|
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||