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

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

The newest version!
package org.infinispan.hotrod;

import java.util.concurrent.TimeUnit;

import org.infinispan.api.mutiny.MutinyLock;

import io.smallrye.mutiny.Uni;

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

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

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

   @Override
   public HotRodMutinyContainer container() {
      return hotrod.mutiny();
   }

   @Override
   public Uni lock() {
      return null;
   }

   @Override
   public Uni tryLock() {
      return null;
   }

   @Override
   public Uni tryLock(long time, TimeUnit unit) {
      return null;
   }

   @Override
   public Uni unlock() {
      return null;
   }

   @Override
   public Uni isLocked() {
      return null;
   }

   @Override
   public Uni isLockedByMe() {
      return null;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy