public class BatchlogManager extends java.lang.Object implements BatchlogManagerMBean
| Modifier and Type | Field and Description |
|---|---|
static BatchlogManager |
instance |
| Constructor and Description |
|---|
BatchlogManager() |
| Modifier and Type | Method and Description |
|---|---|
int |
countAllBatches()
Counts all batches currently in the batchlog.
|
void |
forceBatchlogReplay()
Forces batchlog replay.
|
static RowMutation |
getBatchlogMutationFor(java.util.Collection<RowMutation> mutations,
java.util.UUID uuid) |
long |
getTotalBatchesReplayed() |
void |
start() |
public static final BatchlogManager instance
public void start()
public int countAllBatches()
BatchlogManagerMBeancountAllBatches in interface BatchlogManagerMBeanpublic long getTotalBatchesReplayed()
getTotalBatchesReplayed in interface BatchlogManagerMBeanpublic void forceBatchlogReplay()
BatchlogManagerMBeanforceBatchlogReplay in interface BatchlogManagerMBeanpublic static RowMutation getBatchlogMutationFor(java.util.Collection<RowMutation> mutations, java.util.UUID uuid)
Copyright © 2014 The Apache Software Foundation