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

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

The newest version!
package org.infinispan.hotrod;

import org.infinispan.api.configuration.CounterConfiguration;
import org.infinispan.api.sync.SyncStrongCounters;

/**
 * @since 14.0
 **/
public class HotRodSyncStrongCounters implements SyncStrongCounters {
   private final HotRod hotrod;

   public HotRodSyncStrongCounters(HotRod hotrod) {
      this.hotrod = hotrod;
   }

   @Override
   public HotRodSyncStrongCounter get(String name) {
      return new HotRodSyncStrongCounter(hotrod, name); // PLACEHOLDER
   }

   @Override
   public HotRodSyncStrongCounter create(String name, CounterConfiguration counterConfiguration) {
      return new HotRodSyncStrongCounter(hotrod, name); // PLACEHOLDER
   }

   @Override
   public void remove(String name) {

   }

   @Override
   public Iterable names() {
      return null;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy