org.infinispan.hotrod.HotRodMutinyWeakCounters Maven / Gradle / Ivy
package org.infinispan.hotrod;
import org.infinispan.api.configuration.CounterConfiguration;
import org.infinispan.api.mutiny.MutinyWeakCounter;
import org.infinispan.api.mutiny.MutinyWeakCounters;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
/**
* @since 14.0
**/
public class HotRodMutinyWeakCounters implements MutinyWeakCounters {
private final HotRod hotrod;
HotRodMutinyWeakCounters(HotRod hotrod) {
this.hotrod = hotrod;
}
@Override
public Uni get(String name) {
return Uni.createFrom().item(new HotRodMutinyWeakCounter(hotrod, name)); // PLACEHOLDER
}
@Override
public Uni create(String name, CounterConfiguration configuration) {
return Uni.createFrom().item(new HotRodMutinyWeakCounter(hotrod, name)); // PLACEHOLDER
}
@Override
public Uni remove(String name) {
return null;
}
@Override
public Multi names() {
return null;
}
}