org.apache.accumulo.server.tabletserver.log
public class TabletServerLogger extends Object
Constructor and Description |
---|
TabletServerLogger(TabletServer tserver,
long maxSize) |
Modifier and Type | Method and Description |
---|---|
int |
defineTablet(Tablet.CommitSession commitSession) |
void |
getLoggers(Set<String> loggersOut) |
int |
log(Tablet.CommitSession commitSession,
int tabletSeq,
Mutation m) |
int |
logManyTablets(Map<Tablet.CommitSession,List<Mutation>> mutations) |
void |
minorCompactionFinished(Tablet.CommitSession commitSession,
String fullyQualifiedFileName,
int walogSeq) |
int |
minorCompactionStarted(Tablet.CommitSession commitSession,
int seq,
String fullyQualifiedFileName) |
void |
recover(Tablet tablet,
List<String> logs,
Set<String> tabletFiles,
MutationReceiver mr) |
void |
resetLoggers() |
public TabletServerLogger(TabletServer tserver, long maxSize)
public void resetLoggers() throws IOException
IOException
public int defineTablet(Tablet.CommitSession commitSession) throws IOException
IOException
public int log(Tablet.CommitSession commitSession, int tabletSeq, Mutation m) throws IOException
IOException
public int logManyTablets(Map<Tablet.CommitSession,List<Mutation>> mutations) throws IOException
IOException
public void minorCompactionFinished(Tablet.CommitSession commitSession, String fullyQualifiedFileName, int walogSeq) throws IOException
IOException
public int minorCompactionStarted(Tablet.CommitSession commitSession, int seq, String fullyQualifiedFileName) throws IOException
IOException
public void recover(Tablet tablet, List<String> logs, Set<String> tabletFiles, MutationReceiver mr) throws IOException
IOException
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.