org.infinispan.api.async.AsyncContainer Maven / Gradle / Ivy
The newest version!
package org.infinispan.api.async;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.Flow;
import java.util.function.Function;
import org.infinispan.api.Infinispan;
import org.infinispan.api.common.events.container.ContainerEvent;
import org.infinispan.api.common.events.container.ContainerListenerEventType;
/**
* @since 14.0
**/
public interface AsyncContainer extends Infinispan {
AsyncCaches caches();
AsyncMultimaps multimaps();
AsyncStrongCounters strongCounters();
AsyncWeakCounters weakCounters();
AsyncLocks locks();
Flow.Publisher listen(ContainerListenerEventType... types);
CompletionStage batch(Function> function);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy