Modifier and Type | Method and Description |
---|---|
NamedLockFactory |
NamedLockFactorySelector.getSelectedNamedLockFactory()
Returns the selected
NamedLockFactory , never null. |
Constructor and Description |
---|
NamedLockFactorySelector(Map<String,NamedLockFactory> factories,
Map<String,NameMapper> nameMappers)
Constructor used with DI, where factories are injected and selected based on key.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SessionAwareNamedLockFactory
A
NamedLockFactory that wants to make use of RepositorySystemSession . |
Constructor and Description |
---|
NamedLockFactoryAdapter(NameMapper nameMapper,
NamedLockFactory namedLockFactory,
long time,
TimeUnit timeUnit) |
Modifier and Type | Class and Description |
---|---|
class |
HazelcastClientCPSemaphoreNamedLockFactory
Provider of
HazelcastSemaphoreNamedLockFactory using Hazelcast Client and HazelcastInstance.getCPSubsystem() method to get CP semaphore. |
class |
HazelcastCPSemaphoreNamedLockFactory
HazelcastSemaphoreNamedLockFactory using Hazelcast and HazelcastInstance.getCPSubsystem() method to get CP semaphore. |
class |
HazelcastSemaphoreNamedLockFactory
Factory of
AdaptedSemaphoreNamedLock instances using adapted Hazelcast ISemaphore . |
Modifier and Type | Class and Description |
---|---|
class |
LocalReadWriteLockNamedLockFactory
A JVM-local named lock factory that uses named
ReentrantReadWriteLock s. |
class |
LocalSemaphoreNamedLockFactory
A JVM-local named lock factory that uses named
Semaphore s. |
class |
NoopNamedLockFactory
A no-op lock factory, that creates no-op locks.
|
Modifier and Type | Class and Description |
---|---|
class |
RedissonNamedLockFactorySupport
Support class for factories using
RedissonClient . |
class |
RedissonReadWriteLockNamedLockFactory
Provider of
RedissonReadWriteLockNamedLockFactory using Redisson and RReadWriteLock . |
class |
RedissonSemaphoreNamedLockFactory
Provider of
RedissonSemaphoreNamedLockFactory using Redisson and RSemaphore . |
Modifier and Type | Class and Description |
---|---|
class |
NamedLockFactorySupport
Support class for
NamedLockFactory implementations providing reference counting. |
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.