All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.hotrod.HotRodAsyncStrongCounter Maven / Gradle / Ivy

package org.infinispan.hotrod;

import java.util.concurrent.CompletionStage;
import java.util.function.Consumer;

import org.infinispan.api.async.AsyncStrongCounter;
import org.infinispan.api.common.events.counter.CounterEvent;
import org.infinispan.api.configuration.CounterConfiguration;

/**
 * @since 14.0
 **/
public class HotRodAsyncStrongCounter implements AsyncStrongCounter {
   private final HotRod hotrod;
   private final String name;

   HotRodAsyncStrongCounter(HotRod hotrod, String name) {
      this.hotrod = hotrod;
      this.name = name;
   }

   @Override
   public String name() {
      return name;
   }

   @Override
   public CompletionStage configuration() {
      return null;
   }

   @Override
   public HotRodAsyncContainer container() {
      return hotrod.async();
   }

   @Override
   public CompletionStage value() {
      return null;
   }

   @Override
   public CompletionStage addAndGet(long delta) {
      return null;
   }

   @Override
   public CompletionStage reset() {
      return null;
   }

   @Override
   public CompletionStage listen(Consumer listener) {
      return null;
   }

   @Override
   public CompletionStage compareAndSwap(long expect, long update) {
      return null;
   }

   @Override
   public CompletionStage getAndSet(long value) {
      return null;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy