org.infinispan.hotrod.HotRodMutinyWeakCounter 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
The newest version!
package org.infinispan.hotrod;
import org.infinispan.api.mutiny.MutinyWeakCounter;
import io.smallrye.mutiny.Uni;
/**
* @since 14.0
**/
public class HotRodMutinyWeakCounter implements MutinyWeakCounter {
private final HotRod hotrod;
private final String name;
HotRodMutinyWeakCounter(HotRod hotrod, String name) {
this.hotrod = hotrod;
this.name = name;
}
@Override
public String name() {
return name;
}
@Override
public HotRodMutinyContainer container() {
return hotrod.mutiny();
}
@Override
public Uni value() {
return null;
}
@Override
public Uni add(long delta) {
return null;
}
}