Event logging, add pluggable interfaces and AuditLog, ElasticSearch implementations

This commit is contained in:
Suresh Srinivas 2021-08-05 02:16:33 -07:00
parent 4065135865
commit 1756a9dcd6

View File

@ -30,6 +30,10 @@ import java.util.function.Supplier;
public class ParallelStreamUtil {
private static final Logger LOG = LoggerFactory.getLogger(ParallelStreamUtil.class);
private ParallelStreamUtil() {
}
public static <T> T execute(Supplier<T> supplier, Executor executor) {
Stopwatch stopwatch = Stopwatch.createStarted();
LOG.debug("execute start");