*
* @see org.apache.accumulo.server.fate.Repo#call(long, java.lang.Object)
*/
@Override
public Repo<T> call(long tid, T environment) throws Exception {
Span span = Trace.trace(tinfo, repo.getDescription());
try {
Repo<T> result = repo.call(tid, environment);
if (result == null)
return result;
return new TraceRepo<T>(result);
} finally {
span.stop();
}
}