org.infinispan.client.hotrod.HotRodMutinyStrongCounter Maven / Gradle / Ivy
package org.infinispan.client.hotrod;
import org.infinispan.api.Experimental;
import org.infinispan.api.common.events.counter.CounterEvent;
import org.infinispan.api.configuration.CounterConfiguration;
import org.infinispan.api.mutiny.MutinyContainer;
import org.infinispan.api.mutiny.MutinyStrongCounter;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
/**
* @since 14.0
**/
@Experimental
final class HotRodMutinyStrongCounter implements MutinyStrongCounter {
private final HotRod hotrod;
private final String name;
HotRodMutinyStrongCounter(HotRod hotrod, String name) {
this.hotrod = hotrod;
this.name = name;
}
@Override
public String name() {
return name;
}
@Override
public MutinyContainer container() {
return hotrod.mutiny();
}
@Override
public Uni value() {
throw new UnsupportedOperationException();
}
@Override
public Uni addAndGet(long delta) {
throw new UnsupportedOperationException();
}
@Override
public Uni reset() {
throw new UnsupportedOperationException();
}
@Override
public Multi listen() {
throw new UnsupportedOperationException();
}
@Override
public Uni compareAndSet(long expect, long update) {
throw new UnsupportedOperationException();
}
@Override
public Uni compareAndSwap(long expect, long update) {
throw new UnsupportedOperationException();
}
@Override
public Uni getAndSet(long value) {
throw new UnsupportedOperationException();
}
@Override
public Uni getConfiguration() {
throw new UnsupportedOperationException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy