|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GRS2BufferDisposedException | |
|---|---|
| gr.uoa.di.madgik.grs.buffer | |
| Uses of GRS2BufferDisposedException in gr.uoa.di.madgik.grs.buffer |
|---|
| Methods in gr.uoa.di.madgik.grs.buffer that throw GRS2BufferDisposedException | |
|---|---|
int |
QueueBuffer.availableRecords()
Retrieves the number of Records that are currently available to be read |
void |
QueueBuffer.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. |
Record |
QueueBuffer.get()
Attempts to retrieve a Record from the IBuffer. |
int |
QueueBuffer.getCapacity()
Retrieves the capacity of the underlying bounded buffer that can store the Records that a writer adds to it |
long |
QueueBuffer.getInactivityTimeout()
Retrieves the timeout after which if the buffer has remained inactive is eligible for purging. |
TimeUnit |
QueueBuffer.getInactivityTimeUnit()
Retrieves the timeout TimeUnit after which if the buffer has remained inactive is eligible for purging. |
int |
QueueBuffer.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 |
QueueBuffer.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[] |
QueueBuffer.getRecordDefinitions()
Retrieves the definitions of the Records provided using IBuffer.setRecordDefinitions(RecordDefinition[]) |
IBuffer.TransportDirective |
QueueBuffer.getTransportDirective()
Retrieves the IBuffer.TransportDirective set for the IBuffer. |
Object |
QueueBuffer.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 |
QueueBuffer.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 |
QueueBuffer.locate(long recordIndex)
Attempts to locate the Record with the provided id in the underlying IBuffer structures. |
IBuffer.TransportDirective |
QueueBuffer.resolveTransportDirective()
Resolves the set IBuffer.TransportDirective set for the IBuffer through
IBuffer.setTransportDirective(TransportDirective). |
void |
QueueBuffer.setCapacity(int capacity)
Sets the capacity of the underlying bounded buffer that can store the Records that a writer adds to it. |
void |
QueueBuffer.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 |
QueueBuffer.setInactivityTimeout(long timeout)
Sets the timeout after which if the buffer has remained inactive is eligible for purging. |
void |
QueueBuffer.setInactivityTimeUnit(TimeUnit unit)
Sets the timeout TimeUnit after which if the buffer has remained inactive is eligible for purging. |
void |
QueueBuffer.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. |
long |
QueueBuffer.totalRecords()
Retrieves the number of Records that have in total passed through the IBuffer. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||