org.infinispan.interceptors.InvocationCallback Maven / Gradle / Ivy
package org.infinispan.interceptors;
import org.infinispan.commands.VisitableCommand;
import org.infinispan.context.InvocationContext;
/**
* Base interface for all callbacks used by {@link BaseAsyncInterceptor} and {@link InvocationStage} methods.
*
* @author Dan Berindei
* @since 9.0
*/
@FunctionalInterface
public interface InvocationCallback {
Object apply(InvocationContext rCtx, VisitableCommand rCommand, Object rv, Throwable throwable) throws Throwable;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy