org.apache.accumulo.server.master.tableOps
Class MasterRepo

java.lang.Object
  extended by org.apache.accumulo.server.master.tableOps.MasterRepo
All Implemented Interfaces:
Serializable, Repo<Master>
Direct Known Subclasses:
BulkImport, CancelCompactions, ChangeTableState, CloneTable, CompactRange, CreateTable, DeleteTable, ExportTable, ImportTable, RenameTable, ShutdownTServer, TableRangeOp

public abstract class MasterRepo
extends Object
implements Repo<Master>

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
MasterRepo()
           
 
Method Summary
abstract  Repo<Master> call(long tid, Master environment)
           
 String getDescription()
           
 String getReturn()
           
 long isReady(long tid, Master environment)
           
 void undo(long tid, Master environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log
Constructor Detail

MasterRepo

public MasterRepo()
Method Detail

isReady

public long isReady(long tid,
                    Master environment)
             throws Exception
Specified by:
isReady in interface Repo<Master>
Throws:
Exception

undo

public void undo(long tid,
                 Master environment)
          throws Exception
Specified by:
undo in interface Repo<Master>
Throws:
Exception

getDescription

public String getDescription()
Specified by:
getDescription in interface Repo<Master>

getReturn

public String getReturn()
Specified by:
getReturn in interface Repo<Master>

call

public abstract Repo<Master> call(long tid,
                                  Master environment)
                           throws Exception
Specified by:
call in interface Repo<Master>
Throws:
Exception


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.