org.infinispan.hotrod.HotRodMutinyStrongCounters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-hotrod-jakarta Show documentation
Show all versions of infinispan-hotrod-jakarta Show documentation
Infinispan Hot Rod Client Jakarta EE
package org.infinispan.hotrod;
import org.infinispan.api.configuration.CounterConfiguration;
import org.infinispan.api.mutiny.MutinyStrongCounter;
import org.infinispan.api.mutiny.MutinyStrongCounters;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
/**
* @since 14.0
**/
public class HotRodMutinyStrongCounters implements MutinyStrongCounters {
private final HotRod hotrod;
HotRodMutinyStrongCounters(HotRod hotrod) {
this.hotrod = hotrod;
}
@Override
public Uni get(String name) {
return Uni.createFrom().item(new HotRodMutinyStrongCounter(hotrod, name)); // PLACEHOLDER
}
@Override
public Uni create(String name, CounterConfiguration configuration) {
return Uni.createFrom().item(new HotRodMutinyStrongCounter(hotrod, name)); // PLACEHOLDER
}
@Override
public Uni remove(String name) {
return null;
}
@Override
public Multi names() {
return null;
}
}