|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.zookeeper.internal.ZooKeeperGC
public class ZooKeeperGC
Implements data file management (garbage collection) for the ZooKeeper's data files.
| Constructor Summary | |
|---|---|
ZooKeeperGC(long gcInterval,
java.lang.String dataDir,
java.lang.String logDir,
int snapshotsToKeep)
Constructor. |
|
| Method Summary | |
|---|---|
void |
run()
|
void |
stop()
Stops execution of ZooKeeperGC. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZooKeeperGC(long gcInterval,
java.lang.String dataDir,
java.lang.String logDir,
int snapshotsToKeep)
gcInterval - time to wait in ms between invocations of two garbage collection operationsdataDir - directory for snapshotslogDir - directory for logs| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic void stop()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||