Package org.apache.bookkeeper.bookie
Class GarbageCollectionStatus.GarbageCollectionStatusBuilder
- java.lang.Object
-
- org.apache.bookkeeper.bookie.GarbageCollectionStatus.GarbageCollectionStatusBuilder
-
- Enclosing class:
- GarbageCollectionStatus
public static class GarbageCollectionStatus.GarbageCollectionStatusBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GarbageCollectionStatusBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GarbageCollectionStatus
build()
GarbageCollectionStatus.GarbageCollectionStatusBuilder
forceCompacting(boolean forceCompacting)
GarbageCollectionStatus.GarbageCollectionStatusBuilder
lastMajorCompactionTime(long lastMajorCompactionTime)
GarbageCollectionStatus.GarbageCollectionStatusBuilder
lastMinorCompactionTime(long lastMinorCompactionTime)
GarbageCollectionStatus.GarbageCollectionStatusBuilder
majorCompacting(boolean majorCompacting)
GarbageCollectionStatus.GarbageCollectionStatusBuilder
majorCompactionCounter(long majorCompactionCounter)
GarbageCollectionStatus.GarbageCollectionStatusBuilder
minorCompacting(boolean minorCompacting)
GarbageCollectionStatus.GarbageCollectionStatusBuilder
minorCompactionCounter(long minorCompactionCounter)
java.lang.String
toString()
-
-
-
Method Detail
-
forceCompacting
public GarbageCollectionStatus.GarbageCollectionStatusBuilder forceCompacting(boolean forceCompacting)
- Returns:
this
.
-
majorCompacting
public GarbageCollectionStatus.GarbageCollectionStatusBuilder majorCompacting(boolean majorCompacting)
- Returns:
this
.
-
minorCompacting
public GarbageCollectionStatus.GarbageCollectionStatusBuilder minorCompacting(boolean minorCompacting)
- Returns:
this
.
-
lastMajorCompactionTime
public GarbageCollectionStatus.GarbageCollectionStatusBuilder lastMajorCompactionTime(long lastMajorCompactionTime)
- Returns:
this
.
-
lastMinorCompactionTime
public GarbageCollectionStatus.GarbageCollectionStatusBuilder lastMinorCompactionTime(long lastMinorCompactionTime)
- Returns:
this
.
-
majorCompactionCounter
public GarbageCollectionStatus.GarbageCollectionStatusBuilder majorCompactionCounter(long majorCompactionCounter)
- Returns:
this
.
-
minorCompactionCounter
public GarbageCollectionStatus.GarbageCollectionStatusBuilder minorCompactionCounter(long minorCompactionCounter)
- Returns:
this
.
-
build
public GarbageCollectionStatus build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-