org.apache.accumulo.fate
Interface Repo<T>

All Superinterfaces:
Serializable
All Known Implementing Classes:
BulkImport, CancelCompactions, ChangeTableState, CloneTable, CompactRange, CreateTable, DeleteTable, ExportTable, ImportTable, MasterRepo, RenameTable, ShutdownTServer, TableRangeOp, TraceRepo

public interface Repo<T>
extends Serializable

Repeatable persisted operation


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)
           
 

Method Detail

isReady

long isReady(long tid,
             T environment)
             throws Exception
Throws:
Exception

call

Repo<T> call(long tid,
             T environment)
             throws Exception
Throws:
Exception

undo

void undo(long tid,
          T environment)
          throws Exception
Throws:
Exception

getDescription

String getDescription()

getReturn

String getReturn()


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.