public class BatchlogManager extends java.lang.Object implements BatchlogManagerMBean
Modifier and Type | Class and Description |
---|---|
static class |
BatchlogManager.EndpointFilter |
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.ScheduledExecutorService |
batchlogTasks |
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 Mutation |
getBatchlogMutationFor(java.util.Collection<Mutation> mutations,
java.util.UUID uuid,
int version) |
long |
getBatchlogTimeout() |
long |
getTotalBatchesReplayed() |
void |
start() |
java.util.concurrent.Future<?> |
startBatchlogReplay() |
public static final BatchlogManager instance
public static final java.util.concurrent.ScheduledExecutorService batchlogTasks
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 java.util.concurrent.Future<?> startBatchlogReplay()
public static Mutation getBatchlogMutationFor(java.util.Collection<Mutation> mutations, java.util.UUID uuid, int version)
public long getBatchlogTimeout()
Copyright © 2014 The Apache Software Foundation