Package org.apache.cassandra.batchlog
Interface BatchlogManagerMBean
-
- All Known Implementing Classes:
BatchlogManager
public interface BatchlogManagerMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountAllBatches()Counts all batches currently in the batchlog.voidforceBatchlogReplay()Forces batchlog replay.longgetTotalBatchesReplayed()
-
-
-
Method Detail
-
countAllBatches
int countAllBatches()
Counts all batches currently in the batchlog.- Returns:
- total batch count
-
getTotalBatchesReplayed
long getTotalBatchesReplayed()
- Returns:
- total count of batches replayed since node start
-
forceBatchlogReplay
void forceBatchlogReplay() throws java.lang.ExceptionForces batchlog replay. Blocks until completion.- Throws:
java.lang.Exception
-
-