org.apache.accumulo.server.tabletserver
Class MutationLog

java.lang.Object
  extended by org.apache.accumulo.server.tabletserver.MutationLog

public class MutationLog
extends java.lang.Object


Field Summary
static byte CLOSE_EVENT
           
static byte MUTATION_EVENT
           
 
Constructor Summary
MutationLog(org.apache.hadoop.fs.Path logfile)
           
 
Method Summary
 void close()
           
 void log(Mutation m)
           
static java.util.Iterator<Mutation> replay(org.apache.hadoop.fs.Path logfile, Tablet t, long min_timestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MUTATION_EVENT

public static final byte MUTATION_EVENT
See Also:
Constant Field Values

CLOSE_EVENT

public static final byte CLOSE_EVENT
See Also:
Constant Field Values
Constructor Detail

MutationLog

public MutationLog(org.apache.hadoop.fs.Path logfile)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

log

public void log(Mutation m)
         throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

replay

public static java.util.Iterator<Mutation> replay(org.apache.hadoop.fs.Path logfile,
                                                  Tablet t,
                                                  long min_timestamp)
                                           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.