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

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

public class ChangeTableState
extends MasterRepo

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.accumulo.server.master.tableOps.MasterRepo
log
 
Constructor Summary
ChangeTableState(String tableId, TableOperation top)
           
 
Method Summary
 Repo<Master> call(long tid, Master env)
           
 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

ChangeTableState

public ChangeTableState(String tableId,
                        TableOperation top)
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 env)
                  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 © 2012 The Apache Software Foundation. All Rights Reserved.