@InterfaceAudience.Private @InterfaceStability.Unstable public class Log extends Object
Before calling any of commitPut/commitTake/get/put/rollback/take lockShared() should be called. After the operation and any additional modifications of the FlumeEventQueue, the Log.unlockShared method should be called.
Modifier and Type | Field and Description |
---|---|
static Set<String> |
EXCLUDES
Set of files that should be excluded from backup and restores.
|
static String |
FILE_LOCK |
static String |
PREFIX |
static String |
QUEUE_SET |
Modifier and Type | Method and Description |
---|---|
int |
getCommittedCount() |
int |
getPutCount() |
int |
getReadCount() |
int |
getRollbackCount() |
int |
getTakeCount() |
public static final String PREFIX
public static final String FILE_LOCK
public static final String QUEUE_SET
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.