|
|||||||||
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.FirstAvailableMultiplex
public class FirstAvailableMultiplex
Implementation of the IMultiplex
interface for the IBufferStore.MultiplexType.FirstAvailable
type of multiplexing
Constructor Summary | |
---|---|
FirstAvailableMultiplex()
Creates a new instance |
Method Summary | |
---|---|
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 Record s |
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 notify when a new Record
has been made available from any of the readers |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FirstAvailableMultiplex()
Method Detail |
---|
public void setModificationNotify(java.lang.Object notify)
Record
has been made available from any of the readers
setModificationNotify
in interface IMultiplex
notify
- the synchronization objectIMultiplex.setModificationNotify(java.lang.Object)
public void setEntries(java.util.ArrayList<BufferStoreEntry> entries)
setEntries
in interface IMultiplex
entries
- the entries to multiplexIMultiplex.setEntries(java.util.ArrayList)
public void setBufferStore(IBufferStore bufferStore)
IBufferStore
that is receiving the multiplexed Record
s
setBufferStore
in interface IMultiplex
bufferStore
- the IBufferStore
this multiplex implementation is acting forIMultiplex.setBufferStore(gr.uoa.di.madgik.grs.store.buffer.IBufferStore)
public void dispose()
dispose
in interface IMultiplex
IMultiplex.dispose()
public void multiplex() throws GRS2BufferStoreException
multiplex
in interface IMultiplex
GRS2BufferStoreException
- there was a problem during the multiplexing procedureIMultiplex.multiplex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |