org.apache.accumulo.server.master.tableOps
Class TraceRepo<T>

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

public class TraceRepo<T>
extends Object
implements Repo<T>

See Also:
Serialized Form

Constructor Summary
TraceRepo(Repo<T> repo)
           
 
Method Summary
 Repo<T> call(long tid, T environment)
           
 String getDescription()
           
 String getReturn()
           
 long isReady(long tid, T environment)
           
 void undo(long tid, T environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceRepo

public TraceRepo(Repo<T> repo)
Method Detail

isReady

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

call

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

undo

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

getDescription

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

getReturn

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


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