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

java.lang.Object
  extended by org.apache.accumulo.server.master.tableOps.MasterRepo
      extended by org.apache.accumulo.server.master.tableOps.RenameTable
All Implemented Interfaces:
Serializable, Repo<Master>

public class RenameTable
extends MasterRepo

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.accumulo.server.master.tableOps.MasterRepo
log
 
Constructor Summary
RenameTable(String tableId, String oldTableName, String newTableName)
           
 
Method Summary
 Repo<Master> call(long tid, Master master)
           
 long isReady(long tid, Master environment)
           
 void undo(long tid, Master env)
           
 
Methods inherited from class org.apache.accumulo.server.master.tableOps.MasterRepo
getDescription, getReturn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameTable

public RenameTable(String tableId,
                   String oldTableName,
                   String newTableName)
Method Detail

isReady

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

call

public Repo<Master> call(long tid,
                         Master master)
                  throws Exception
Specified by:
call in interface Repo<Master>
Specified by:
call in class MasterRepo
Throws:
Exception

undo

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


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.