org.infinispan.hotrod.HotRodSyncWeakCounter 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.sync.SyncWeakCounter;
/**
* @since 14.0
**/
public class HotRodSyncWeakCounter implements SyncWeakCounter {
private final HotRod hotrod;
private final String name;
HotRodSyncWeakCounter(HotRod hotrod, String name) {
this.hotrod = hotrod;
this.name = name;
}
@Override
public String name() {
return null;
}
@Override
public HotRodSyncContainer container() {
return hotrod.sync();
}
@Override
public long value() {
return 0;
}
@Override
public void add(long delta) {
}
}