com.raynigon.ecs.logging.async.service.helper.TimerWrapper Maven / Gradle / Ivy
package com.raynigon.ecs.logging.async.service.helper;
import java.util.concurrent.Callable;
import java.util.function.Supplier;
public interface TimerWrapper {
V recordCallable(Callable callable);
U record(Supplier supplier);
SampleWrapper start();
long stop(SampleWrapper wrapper);
}