Class StampedLockServiceExecutor
java.lang.Object
org.wildfly.clustering.ee.cache.concurrent.StampedLockServiceExecutor
- All Implemented Interfaces:
Executor,ServiceExecutor
ServiceExecutor implemented via a StampedLock.- Author:
- Paul Ferraro
-
Constructor Details
-
StampedLockServiceExecutor
public StampedLockServiceExecutor()
-
-
Method Details
-
execute
-
execute
public <E extends Exception> void execute(org.wildfly.common.function.ExceptionRunnable<E> executeTask) throws E - Specified by:
executein interfaceServiceExecutor- Throws:
E extends Exception
-
execute
- Specified by:
executein interfaceServiceExecutor
-
execute
public <R,E extends Exception> Optional<R> execute(org.wildfly.common.function.ExceptionSupplier<R, E> executeTask) throws E- Specified by:
executein interfaceServiceExecutor- Throws:
E extends Exception
-
close
- Specified by:
closein interfaceServiceExecutor
-