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

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

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

import org.infinispan.api.configuration.CounterConfiguration;
import org.infinispan.api.sync.SyncWeakCounter;
import org.infinispan.api.sync.SyncWeakCounters;

/**
 * @since 14.0
 **/
public class HotRodSyncWeakCounters implements SyncWeakCounters {
   private final HotRod hotrod;

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

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

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

   @Override
   public void remove(String name) {

   }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy