|
|||||||||
| 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 RecordDefinitions 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 Records |
| 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 IDemultiplexnotify - the synchronization objectIDemultiplex.setModificationNotify(java.lang.Object)public void setEntries(java.util.ArrayList<BufferStoreEntry> entries)
setEntries in interface IDemultiplexentries - the entries to demultiplexIDemultiplex.setEntries(java.util.ArrayList)public void setDefinitionsList(java.util.ArrayList<RecordDefinition[]> definitionsList)
RecordDefinitions in the order of the managed BufferStoreEntry list
setDefinitionsList in interface IDemultiplexdefinitionsList - the list of record definitionsIDemultiplex.setDefinitionsList(java.util.ArrayList)public void setWriter(RecordWriter<Record> writer)
RecordWriter that will receive the restored Records
setWriter in interface IDemultiplexwriter - the writer to store the restored RecordsIDemultiplex.setWriter(gr.uoa.di.madgik.grs.writer.RecordWriter)public void setBufferStore(IBufferStore store)
IBufferStore over which the demultiplexing is performed
setBufferStore in interface IDemultiplexstore - the IBufferStore over which the demultiplexing is performedIDemultiplex.setBufferStore(gr.uoa.di.madgik.grs.store.buffer.IBufferStore)public void dispose()
dispose in interface IDemultiplexIDemultiplex.dispose()
public void demultiplex()
throws GRS2BufferStoreException
demultiplex in interface IDemultiplexGRS2BufferStoreException - 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 | ||||||||