public class ZooKeeperGC
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
ZooKeeperGC(long gcInterval,
java.lang.String dataDir,
java.lang.String logDir,
int snapshotsToKeep)
Constructor.
|
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