|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.uoa.di.madgik.grs.store.buffer.multiplex.FifoDemultiplex
public class FifoDemultiplex
Implementation of the IDemultiplex
interface for the IBufferStore.MultiplexType.FIFO
type of multiplexing
Constructor Summary | |
---|---|
FifoDemultiplex()
Create a new instance |
Method Summary | |
---|---|
void |
demultiplex()
Perform the demultiplexing operation |
void |
dispose()
Dispose all internally managed information but not the externally provided entries |
void |
setBufferStore(IBufferStore store)
The IBufferStore over which the demultiplexing is performed |
void |
setDefinitionsList(java.util.ArrayList<RecordDefinition[]> definitionsList)
Sets the list of RecordDefinition s in the order of the managed BufferStoreEntry list |
void |
setEntries(java.util.ArrayList<BufferStoreEntry> entries)
The entries over which the implementation needs to act |
void |
setModificationNotify(java.lang.Object notify)
Set the synchronization object to be used in a standard wait / notify block to be notified when a new Record
has been made available from the respective IMultiplex |
void |
setWriter(RecordWriter<Record> writer)
Sets the RecordWriter that will receive the restored Record s |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FifoDemultiplex()
Method Detail |
---|
public void setModificationNotify(java.lang.Object notify)
Record
has been made available from the respective IMultiplex
setModificationNotify
in interface IDemultiplex
notify
- the synchronization objectIDemultiplex.setModificationNotify(java.lang.Object)
public void setEntries(java.util.ArrayList<BufferStoreEntry> entries)
setEntries
in interface IDemultiplex
entries
- the entries to demultiplexIDemultiplex.setEntries(java.util.ArrayList)
public void setDefinitionsList(java.util.ArrayList<RecordDefinition[]> definitionsList)
RecordDefinition
s in the order of the managed BufferStoreEntry
list
setDefinitionsList
in interface IDemultiplex
definitionsList
- the list of record definitionsIDemultiplex.setDefinitionsList(java.util.ArrayList)
public void setWriter(RecordWriter<Record> writer)
RecordWriter
that will receive the restored Record
s
setWriter
in interface IDemultiplex
writer
- the writer to store the restored Record
sIDemultiplex.setWriter(gr.uoa.di.madgik.grs.writer.RecordWriter)
public void setBufferStore(IBufferStore store)
IBufferStore
over which the demultiplexing is performed
setBufferStore
in interface IDemultiplex
store
- the IBufferStore
over which the demultiplexing is performedIDemultiplex.setBufferStore(gr.uoa.di.madgik.grs.store.buffer.IBufferStore)
public void dispose()
dispose
in interface IDemultiplex
IDemultiplex.dispose()
public void demultiplex() throws GRS2BufferStoreException
demultiplex
in interface IDemultiplex
GRS2BufferStoreException
- there was a problem during the demultiplexing procedureIDemultiplex.demultiplex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |