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

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

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

import org.infinispan.api.common.CloseableIterable;
import org.infinispan.api.configuration.LockConfiguration;
import org.infinispan.api.sync.SyncLocks;

/**
 * @since 14.0
 **/
public class HotRodSyncLocks implements SyncLocks {
   private final HotRod hotrod;

   HotRodSyncLocks(HotRod hotrod) {
      this.hotrod = hotrod;
   }

   @Override
   public HotRodSyncLock create(String name, LockConfiguration configuration) {
      return new HotRodSyncLock(hotrod, name); // PLACEHOLDER
   }

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

   @Override
   public void remove(String name) {

   }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy