Class RedissonSemaphoreNamedLockFactory

java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.redisson.RedissonNamedLockFactorySupport
org.eclipse.aether.named.redisson.RedissonSemaphoreNamedLockFactory
All Implemented Interfaces:
org.eclipse.aether.named.NamedLockFactory

@Singleton @Named("semaphore-redisson") public class RedissonSemaphoreNamedLockFactory extends RedissonNamedLockFactorySupport
Provider of RedissonSemaphoreNamedLockFactory using Redisson and RSemaphore.
  • Field Details

  • Constructor Details

  • Method Details

    • createLock

      protected org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock createLock(String name)
      Specified by:
      createLock in class org.eclipse.aether.named.support.NamedLockFactorySupport
    • destroyLock

      protected void destroyLock(String name)
      Overrides:
      destroyLock in class org.eclipse.aether.named.support.NamedLockFactorySupport