|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.planx.xmlstore.koala.storage.Sharer
public class Sharer
| Constructor Summary | |
|---|---|
Sharer(SegmentManager segmentManager,
RootManager rootManager,
StorageConfiguration config)
|
|
| Method Summary | |
|---|---|
void |
delete(SourceId id)
|
void |
initiateIteration()
|
void |
share()
Incremental sharing algorithm. |
void |
share(SourceId... ids)
Performs compaction of the argument segments and persists data. |
void |
start()
Starts the Sharer background thread with the period between runs
specified in the constructor. |
void |
stop()
Stops the Sharer background thread. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sharer(SegmentManager segmentManager,
RootManager rootManager,
StorageConfiguration config)
| Method Detail |
|---|
public void start()
Sharer background thread with the period between runs
specified in the constructor.
public void stop()
Sharer background thread.
public void initiateIteration()
public void delete(SourceId id)
throws IOException
IOException
public void share()
throws IOException
IOException
public void share(SourceId... ids)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||