Package org.wildfly.clustering.ee
Interface Invoker
public interface Invoker
Defines a strategy for invoking a given action.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
invoke
<R,E extends Exception> R invoke(org.wildfly.common.function.ExceptionSupplier<R, E> action) throws EInvokes the specified action- Parameters:
action- an action to be invoked- Returns:
- the result of the action
- Throws:
Exception- if invocation fails
-
invoke
Invokes the specified action- Parameters:
action- an action to be invoked- Throws:
Exception- if invocation fails
-