public class FifoMultiplex extends Object implements IMultiplex
IMultiplex interface for the IBufferStore.MultiplexType.FIFO type of multiplexing| Constructor and Description |
|---|
FifoMultiplex()
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Dispose all internally managed information but not the externally provided entries
|
void |
multiplex()
Perform the multiplexing operation
|
void |
setBufferStore(IBufferStore bufferStore)
The
IBufferStore that is receiving the multiplexed Records |
void |
setEntries(ArrayList<BufferStoreEntry> entries)
The entries over which the implementation needs to act
|
void |
setModificationNotify(Object notify)
Set the synchronization object to be used in a standard wait / notify block to notify when a new
Record
has been made available from any of the readers |
public void setModificationNotify(Object notify)
Record
has been made available from any of the readerssetModificationNotify in interface IMultiplexnotify - the synchronization objectIMultiplex.setModificationNotify(java.lang.Object)public void setEntries(ArrayList<BufferStoreEntry> entries)
setEntries in interface IMultiplexentries - the entries to multiplexIMultiplex.setEntries(java.util.ArrayList)public void setBufferStore(IBufferStore bufferStore)
IBufferStore that is receiving the multiplexed RecordssetBufferStore in interface IMultiplexbufferStore - the IBufferStore this multiplex implementation is acting forIMultiplex.setBufferStore(gr.uoa.di.madgik.grs.store.buffer.IBufferStore)public void dispose()
dispose in interface IMultiplexIMultiplex.dispose()public void multiplex()
throws GRS2BufferStoreException
multiplex in interface IMultiplexGRS2BufferStoreException - there was a problem during the multiplexing procedureIMultiplex.multiplex()Copyright © 2014. All Rights Reserved.