|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unister.semweb.drums.sync.SyncThread<Data>
Data - an implementation of AbstractKVStorable, e.g. GeneralStorablepublic class SyncThread<Data extends AbstractKVStorable>
An instance of a SyncThread. Synchronizes a Bucket with the file system.
| Constructor Summary | |
|---|---|
SyncThread(SyncManager<Data> syncManager,
Bucket<Data> bucket,
java.util.Set<Bucket<Data>> actualProcessingBuckets,
ISynchronizerFactory<Data> synchronizerFactory,
DRUMSParameterSet<Data> gp)
Constructor. |
|
| Method Summary | |
|---|---|
void |
run()
runs synchronization of a particular Bucket |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyncThread(SyncManager<Data> syncManager,
Bucket<Data> bucket,
java.util.Set<Bucket<Data>> actualProcessingBuckets,
ISynchronizerFactory<Data> synchronizerFactory,
DRUMSParameterSet<Data> gp)
Bucket will be processed.
syncManager - bucket - the Bucket to synchronize to HDDactualProcessingBuckets - pointer to a set of buckets in processsynchronizerFactory - an implementation of ISynchronizerFactory. This factory is used for instantiating a
Synchronizer. The latter is responsible for writing the Bucket to its corresponding
file to diskgp - | Method Detail |
|---|
public void run()
Bucket
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||