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

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

There is a newer version: 14.0.32.Final
Show newest version
package org.infinispan.hotrod;

import java.util.concurrent.CompletionStage;

import org.infinispan.api.async.AsyncContainer;
import org.infinispan.api.async.AsyncWeakCounter;
import org.infinispan.api.configuration.CounterConfiguration;

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

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

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

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

   @Override
   public AsyncContainer container() {
      return null;
   }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy