public class TabletServerLogger extends Object
| Constructor and Description |
|---|
TabletServerLogger(TabletServer tserver,
long maxSize,
AtomicLong syncCounter,
AtomicLong flushCounter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeForReplication(Collection<CommitSession> sessions) |
int |
defineTablet(CommitSession commitSession) |
void |
getLogFiles(Set<String> loggersOut) |
int |
log(CommitSession commitSession,
int tabletSeq,
Mutation m,
Durability durability) |
int |
logManyTablets(Map<CommitSession,Mutations> mutations) |
void |
minorCompactionFinished(CommitSession commitSession,
String fullyQualifiedFileName,
int walogSeq) |
int |
minorCompactionStarted(CommitSession commitSession,
int seq,
String fullyQualifiedFileName) |
void |
recover(VolumeManager fs,
KeyExtent extent,
TableConfiguration tconf,
List<org.apache.hadoop.fs.Path> logs,
Set<String> tabletFiles,
MutationReceiver mr) |
public TabletServerLogger(TabletServer tserver, long maxSize, AtomicLong syncCounter, AtomicLong flushCounter)
protected void closeForReplication(Collection<CommitSession> sessions)
public int defineTablet(CommitSession commitSession) throws IOException
IOExceptionpublic int log(CommitSession commitSession, int tabletSeq, Mutation m, Durability durability) throws IOException
IOExceptionpublic int logManyTablets(Map<CommitSession,Mutations> mutations) throws IOException
IOExceptionpublic void minorCompactionFinished(CommitSession commitSession, String fullyQualifiedFileName, int walogSeq) throws IOException
IOExceptionpublic int minorCompactionStarted(CommitSession commitSession, int seq, String fullyQualifiedFileName) throws IOException
IOExceptionpublic void recover(VolumeManager fs, KeyExtent extent, TableConfiguration tconf, List<org.apache.hadoop.fs.Path> logs, Set<String> tabletFiles, MutationReceiver mr) throws IOException
IOExceptionCopyright © 2015 Apache Accumulo Project. All rights reserved.