mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
Event logging, add pluggable interfaces and AuditLog, ElasticSearch implementations
This commit is contained in:
parent
4065135865
commit
1756a9dcd6
@ -30,6 +30,10 @@ import java.util.function.Supplier;
|
|||||||
public class ParallelStreamUtil {
|
public class ParallelStreamUtil {
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(ParallelStreamUtil.class);
|
private static final Logger LOG = LoggerFactory.getLogger(ParallelStreamUtil.class);
|
||||||
|
|
||||||
|
private ParallelStreamUtil() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public static <T> T execute(Supplier<T> supplier, Executor executor) {
|
public static <T> T execute(Supplier<T> supplier, Executor executor) {
|
||||||
Stopwatch stopwatch = Stopwatch.createStarted();
|
Stopwatch stopwatch = Stopwatch.createStarted();
|
||||||
LOG.debug("execute start");
|
LOG.debug("execute start");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user