|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDemultiplex
Interfaces implemented by classes that are able to demultiplex a number of stored locator data based on a specific
order or algorithm. The demultiplexing type they perform is one of the ones defined in IBufferStore.MultiplexType
.
Implementations of this class must define a default no argument constructor
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 |
Method Detail |
---|
void setModificationNotify(java.lang.Object notify)
Record
has been made available from the respective IMultiplex
notify
- the synchronization objectvoid setEntries(java.util.ArrayList<BufferStoreEntry> entries)
entries
- the entries to demultiplexvoid setDefinitionsList(java.util.ArrayList<RecordDefinition[]> definitionsList)
RecordDefinition
s in the order of the managed BufferStoreEntry
list
definitionsList
- the list of record definitionsvoid setWriter(RecordWriter<Record> writer)
RecordWriter
that will receive the restored Record
s
writer
- the writer to store the restored Record
svoid setBufferStore(IBufferStore store)
IBufferStore
over which the demultiplexing is performed
store
- the IBufferStore
over which the demultiplexing is performedvoid dispose()
void demultiplex() throws GRS2BufferStoreException
GRS2BufferStoreException
- there was a problem during the demultiplexing procedure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |