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

org.infinispan.lock.impl.ClusteredLockBlockHoundIntegration Maven / Gradle / Ivy

There is a newer version: 15.1.1.Final
Show newest version
package org.infinispan.lock.impl;

import org.infinispan.lock.impl.manager.EmbeddedClusteredLockManager;
import org.kohsuke.MetaInfServices;

import reactor.blockhound.BlockHound;
import reactor.blockhound.integration.BlockHoundIntegration;

@MetaInfServices
public class ClusteredLockBlockHoundIntegration implements BlockHoundIntegration {
   @Override
   public void applyTo(BlockHound.Builder builder) {
      // The creation of an initial lock is blocking
      // https://issues.redhat.com/browse/ISPN-11835
      builder.allowBlockingCallsInside(EmbeddedClusteredLockManager.class.getName(), "createLock");
      builder.allowBlockingCallsInside(EmbeddedClusteredLockManager.class.getName(), "defineLock");
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy