Uses of Class
org.eclipse.aether.named.NamedLockKey
Package
Description
-
Uses of NamedLockKey in org.eclipse.aether.internal.impl.synccontext.named
Modifier and TypeMethodDescriptionBasedirNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) DiscriminatingNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) GAVNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) HashingNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) NameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) Creates (opaque) names for passed in artifacts and metadata.StaticNameMapper.nameLocks
(RepositorySystemSession session, Collection<? extends Artifact> artifacts, Collection<? extends Metadata> metadatas) -
Uses of NamedLockKey in org.eclipse.aether.named
Modifier and TypeMethodDescriptionNamedLock.key()
Returns this instance key, nevernull
.static NamedLockKey
static NamedLockKey
NamedLockKey.of
(String name, Collection<String> resources) Modifier and TypeMethodDescriptiondefault NamedLock
NamedLockFactory.getLock
(NamedLockKey key) Creates or reuses existingNamedLock
.Modifier and TypeMethodDescriptionNamedLockFactory.getLock
(Collection<NamedLockKey> keys) Creates or reuses existingNamedLock
. -
Uses of NamedLockKey in org.eclipse.aether.named.hazelcast
Modifier and TypeMethodDescriptioncom.hazelcast.cp.ISemaphore
DirectHazelcastSemaphoreProvider.acquireSemaphore
(com.hazelcast.core.HazelcastInstance hazelcastInstance, NamedLockKey key) abstract com.hazelcast.cp.ISemaphore
HazelcastSemaphoreProvider.acquireSemaphore
(com.hazelcast.core.HazelcastInstance hazelcastInstance, NamedLockKey key) Invoked when new instance of semaphore needed for given key.protected AdaptedSemaphoreNamedLock
HazelcastSemaphoreNamedLockFactory.createLock
(NamedLockKey key) void
DirectHazelcastSemaphoreProvider.releaseSemaphore
(com.hazelcast.core.HazelcastInstance hazelcastInstance, NamedLockKey key, com.hazelcast.cp.ISemaphore semaphore) abstract void
HazelcastSemaphoreProvider.releaseSemaphore
(com.hazelcast.core.HazelcastInstance hazelcastInstance, NamedLockKey key, com.hazelcast.cp.ISemaphore semaphore) Invoked when passed in semaphore associated with passed in key is not to be used anymore. -
Uses of NamedLockKey in org.eclipse.aether.named.ipc
Modifier and TypeMethodDescriptionprotected NamedLockSupport
IpcNamedLockFactory.createLock
(NamedLockKey key) Modifier and TypeMethodDescriptionprotected NamedLock
IpcNamedLockFactory.doGetLock
(Collection<NamedLockKey> keys) -
Uses of NamedLockKey in org.eclipse.aether.named.providers
Modifier and TypeMethodDescriptionprotected NamedLockSupport
FileLockNamedLockFactory.createLock
(NamedLockKey key) protected ReadWriteLockNamedLock
LocalReadWriteLockNamedLockFactory.createLock
(NamedLockKey key) protected AdaptedSemaphoreNamedLock
LocalSemaphoreNamedLockFactory.createLock
(NamedLockKey key) protected org.eclipse.aether.named.providers.NoopNamedLockFactory.NoopNamedLock
NoopNamedLockFactory.createLock
(NamedLockKey key) -
Uses of NamedLockKey in org.eclipse.aether.named.redisson
Modifier and TypeMethodDescriptionprotected ReadWriteLockNamedLock
RedissonReadWriteLockNamedLockFactory.createLock
(NamedLockKey key) protected AdaptedSemaphoreNamedLock
RedissonSemaphoreNamedLockFactory.createLock
(NamedLockKey key) -
Uses of NamedLockKey in org.eclipse.aether.named.support
Modifier and TypeMethodDescriptionvoid
NamedLockFactorySupport.closeLock
(NamedLockKey key) protected abstract NamedLockSupport
NamedLockFactorySupport.createLock
(NamedLockKey key) Implementations shall create and returnNamedLockSupport
for givenname
, this method must never returnnull
.protected NamedLock
NamedLockFactorySupport.getLockAndRefTrack
(NamedLockKey key, Supplier<NamedLockSupport> supplier) Modifier and TypeMethodDescriptionprotected NamedLock
NamedLockFactorySupport.doGetLock
(Collection<NamedLockKey> keys) final NamedLock
NamedLockFactorySupport.getLock
(Collection<NamedLockKey> keys) ModifierConstructorDescriptionAdaptedSemaphoreNamedLock
(NamedLockKey key, NamedLockFactorySupport factory, AdaptedSemaphoreNamedLock.AdaptedSemaphore semaphore) CompositeNamedLock
(NamedLockKey key, NamedLockFactorySupport factory, Collection<NamedLock> namedLocks) FileLockNamedLock
(NamedLockKey key, FileChannel fileChannel, NamedLockFactorySupport factory) NamedLockSupport
(NamedLockKey key, NamedLockFactorySupport factory) ReadWriteLockNamedLock
(NamedLockKey key, NamedLockFactorySupport factory, ReadWriteLock readWriteLock)