All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.api.mutiny.MutinyContainer Maven / Gradle / Ivy

The newest version!
package org.infinispan.api.mutiny;

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;

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;

/**
 * @since 14.0
 **/
public interface MutinyContainer extends Infinispan {
   MutinyCaches caches();

   MutinyMultimaps multimaps();

   MutinyStrongCounters strongCounters();

   MutinyWeakCounters weakCounters();

   MutinyLocks locks();

   /**
    * @param types
    * @return
    */
   Multi listen(ContainerListenerEventType... types);

    Uni execute(String name, Object... args);

    Uni batch(Function> function);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy