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()
BatchlogManagerMBean
countAllBatches
in interface BatchlogManagerMBean
public long getTotalBatchesReplayed()
getTotalBatchesReplayed
in interface BatchlogManagerMBean
public void forceBatchlogReplay()
BatchlogManagerMBean
forceBatchlogReplay
in interface BatchlogManagerMBean
public static RowMutation getBatchlogMutationFor(java.util.Collection<RowMutation> mutations, java.util.UUID uuid)
Copyright © 2013 The Apache Software Foundation