Index

A C D E F G H I K L N O R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AdaptedSemaphoreNamedLock - Class in org.eclipse.aether.named.support
Named lock support implementation that is using "adapted" semaphore (to be able to use semaphores not sharing common API).
AdaptedSemaphoreNamedLock(NamedLockKey, NamedLockFactorySupport, AdaptedSemaphoreNamedLock.AdaptedSemaphore) - Constructor for class org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock
 
AdaptedSemaphoreNamedLock.AdaptedSemaphore - Interface in org.eclipse.aether.named.support
Wrapper for semaphore-like stuff, that do not share common ancestor.

C

close() - Method in interface org.eclipse.aether.named.NamedLock
Closes the lock resource.
close() - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
closeLock(NamedLockKey) - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
 
CompositeNamedLock - Class in org.eclipse.aether.named.support
Implementation of composite lock when "composition" is needed for locks that are naturally mapped as 1:1 name vs some backing implementation.
CompositeNamedLock(NamedLockKey, NamedLockFactorySupport, Collection<NamedLock>) - Constructor for class org.eclipse.aether.named.support.CompositeNamedLock
 
createLock(NamedLockKey) - Method in class org.eclipse.aether.named.providers.FileLockNamedLockFactory
 
createLock(NamedLockKey) - Method in class org.eclipse.aether.named.providers.LocalReadWriteLockNamedLockFactory
 
createLock(NamedLockKey) - Method in class org.eclipse.aether.named.providers.LocalSemaphoreNamedLockFactory
 
createLock(NamedLockKey) - Method in class org.eclipse.aether.named.providers.NoopNamedLockFactory
 
createLock(NamedLockKey) - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
Implementations shall create and return NamedLockSupport for given name, this method must never return null.

D

destroyLock(NamedLock) - Method in class org.eclipse.aether.named.providers.FileLockNamedLockFactory
 
destroyLock(NamedLock) - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
Implementation may override this (empty) method to perform some sort of implementation specific cleanup for given lock name.
diagnosticState() - Method in class org.eclipse.aether.named.support.NamedLockSupport
Returns the diagnostic state (if collected) or empty map, never null.
doClose() - Method in class org.eclipse.aether.named.support.CompositeNamedLock
 
doClose() - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
doGetLock(Collection<NamedLockKey>) - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
 
doLockExclusively(long, TimeUnit) - Method in class org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock
 
doLockExclusively(long, TimeUnit) - Method in class org.eclipse.aether.named.support.CompositeNamedLock
 
doLockExclusively(long, TimeUnit) - Method in class org.eclipse.aether.named.support.FileLockNamedLock
 
doLockExclusively(long, TimeUnit) - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
doLockExclusively(long, TimeUnit) - Method in class org.eclipse.aether.named.support.ReadWriteLockNamedLock
 
doLockShared(long, TimeUnit) - Method in class org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock
 
doLockShared(long, TimeUnit) - Method in class org.eclipse.aether.named.support.CompositeNamedLock
 
doLockShared(long, TimeUnit) - Method in class org.eclipse.aether.named.support.FileLockNamedLock
 
doLockShared(long, TimeUnit) - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
doLockShared(long, TimeUnit) - Method in class org.eclipse.aether.named.support.ReadWriteLockNamedLock
 
doShutdown() - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
 
doUnlock() - Method in class org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock
 
doUnlock() - Method in class org.eclipse.aether.named.support.CompositeNamedLock
 
doUnlock() - Method in class org.eclipse.aether.named.support.FileLockNamedLock
 
doUnlock() - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
doUnlock() - Method in class org.eclipse.aether.named.support.ReadWriteLockNamedLock
 

E

equals(Object) - Method in class org.eclipse.aether.named.NamedLockKey
 

F

FileLockNamedLock - Class in org.eclipse.aether.named.support
Named lock that uses FileLock.
FileLockNamedLock(NamedLockKey, FileChannel, NamedLockFactorySupport) - Constructor for class org.eclipse.aether.named.support.FileLockNamedLock
 
FileLockNamedLockFactory - Class in org.eclipse.aether.named.providers
Named locks factory of FileLockNamedLocks.
FileLockNamedLockFactory() - Constructor for class org.eclipse.aether.named.providers.FileLockNamedLockFactory
 

G

getLock(Collection<NamedLockKey>) - Method in interface org.eclipse.aether.named.NamedLockFactory
Creates or reuses existing NamedLock.
getLock(Collection<NamedLockKey>) - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
 
getLock(NamedLockKey) - Method in interface org.eclipse.aether.named.NamedLockFactory
Creates or reuses existing NamedLock.
getLockAndRefTrack(NamedLockKey, Supplier<NamedLockSupport>) - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
 

H

hashCode() - Method in class org.eclipse.aether.named.NamedLockKey
 

I

isDiagnosticEnabled() - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
Returns true if factory diagnostic collection is enabled.

K

key() - Method in interface org.eclipse.aether.named.NamedLock
Returns this instance key, never null.
key() - Method in class org.eclipse.aether.named.support.NamedLockSupport
 

L

LocalReadWriteLockNamedLockFactory - Class in org.eclipse.aether.named.providers
A JVM-local named lock factory that uses named ReentrantReadWriteLocks.
LocalReadWriteLockNamedLockFactory() - Constructor for class org.eclipse.aether.named.providers.LocalReadWriteLockNamedLockFactory
 
LocalSemaphoreNamedLockFactory - Class in org.eclipse.aether.named.providers
A JVM-local named lock factory that uses named Semaphores.
LocalSemaphoreNamedLockFactory() - Constructor for class org.eclipse.aether.named.providers.LocalSemaphoreNamedLockFactory
 
lockExclusively(long, TimeUnit) - Method in interface org.eclipse.aether.named.NamedLock
Tries to lock exclusively, may block for given time.
lockExclusively(long, TimeUnit) - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
lockShared(long, TimeUnit) - Method in interface org.eclipse.aether.named.NamedLock
Tries to lock shared, may block for given time.
lockShared(long, TimeUnit) - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
LockUpgradeNotSupportedException - Exception Class in org.eclipse.aether.named.support
Exception thrown when lock upgrade attempted that we do not support.
LockUpgradeNotSupportedException(NamedLockSupport) - Constructor for exception class org.eclipse.aether.named.support.LockUpgradeNotSupportedException
Constructor for case, when current thread attempts lock upgrade on given lock instance.
logger - Variable in class org.eclipse.aether.named.support.NamedLockFactorySupport
 
logger - Variable in class org.eclipse.aether.named.support.NamedLockSupport
 

N

name() - Method in class org.eclipse.aether.named.NamedLockKey
Returns this key name, never null.
NAME - Static variable in class org.eclipse.aether.named.providers.FileLockNamedLockFactory
 
NAME - Static variable in class org.eclipse.aether.named.providers.LocalReadWriteLockNamedLockFactory
 
NAME - Static variable in class org.eclipse.aether.named.providers.LocalSemaphoreNamedLockFactory
 
NAME - Static variable in class org.eclipse.aether.named.providers.NoopNamedLockFactory
 
NamedLock - Interface in org.eclipse.aether.named
A named lock, functionally similar to existing JVM and other implementations.
NamedLockFactory - Interface in org.eclipse.aether.named
A factory of NamedLocks.
NamedLockFactorySupport - Class in org.eclipse.aether.named.support
Support class for NamedLockFactory implementations providing reference counting.
NamedLockFactorySupport() - Constructor for class org.eclipse.aether.named.support.NamedLockFactorySupport
 
NamedLockFactorySupport(boolean) - Constructor for class org.eclipse.aether.named.support.NamedLockFactorySupport
 
NamedLockKey - Class in org.eclipse.aether.named
A named lock key.
NamedLockSupport - Class in org.eclipse.aether.named.support
Support class for NamedLock implementations providing reference counting.
NamedLockSupport(NamedLockKey, NamedLockFactorySupport) - Constructor for class org.eclipse.aether.named.support.NamedLockSupport
 
NoopNamedLockFactory - Class in org.eclipse.aether.named.providers
A no-op lock factory, that creates no-op locks.
NoopNamedLockFactory() - Constructor for class org.eclipse.aether.named.providers.NoopNamedLockFactory
 

O

of(String, String...) - Static method in class org.eclipse.aether.named.NamedLockKey
 
of(String, Collection<String>) - Static method in class org.eclipse.aether.named.NamedLockKey
 
onFailure(E) - Method in interface org.eclipse.aether.named.NamedLockFactory
Method to notify factory about locking failure, to make it possible to provide more (factory specific) information about factory state when a locking operation failed.
onFailure(E) - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
 
org.eclipse.aether.named - package org.eclipse.aether.named
 
org.eclipse.aether.named.providers - package org.eclipse.aether.named.providers
 
org.eclipse.aether.named.support - package org.eclipse.aether.named.support
 

R

ReadWriteLockNamedLock - Class in org.eclipse.aether.named.support
Named lock support implementation that is using ReadWriteLock instances.
ReadWriteLockNamedLock(NamedLockKey, NamedLockFactorySupport, ReadWriteLock) - Constructor for class org.eclipse.aether.named.support.ReadWriteLockNamedLock
 
release(int) - Method in interface org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock.AdaptedSemaphore
 
resources() - Method in class org.eclipse.aether.named.NamedLockKey
Auxiliary information, not used by Resolver.
retry(int, long, Callable<R>, Predicate<Exception>, R) - Static method in class org.eclipse.aether.named.support.Retry
Retries attempting max given times the passed in operation, sleeping given sleepMills between retries.
retry(long, TimeUnit, long, Callable<R>, Predicate<Exception>, R) - Static method in class org.eclipse.aether.named.support.Retry
Retries for given amount of time (time, unit) the passed in operation, sleeping given sleepMills between retries.
Retry - Class in org.eclipse.aether.named.support
Retry helper: retries given Callable as long as it returns null (interpreted as "no answer yet") or given time passes.
Retry.DoNotRetry - Interface in org.eclipse.aether.named.support
Marker interface to apply onto exceptions to make them "never retried" when thrown.

S

shutdown() - Method in interface org.eclipse.aether.named.NamedLockFactory
Performs a clean shut down of the factory.
shutdown() - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
 
SYSTEM_PROP_ATTEMPTS - Static variable in class org.eclipse.aether.named.providers.FileLockNamedLockFactory
Tweak: on Windows, the presence of StandardOpenOption#DELETE_ON_CLOSE causes concurrency issues.
SYSTEM_PROP_DELETE_LOCK_FILES - Static variable in class org.eclipse.aether.named.providers.FileLockNamedLockFactory
Tweak: on Windows, the presence of StandardOpenOption#DELETE_ON_CLOSE causes concurrency issues.
SYSTEM_PROP_DIAGNOSTIC_ENABLED - Static variable in class org.eclipse.aether.named.support.NamedLockFactorySupport
System property key to enable locking diagnostic collection.
SYSTEM_PROP_SLEEP_MILLIS - Static variable in class org.eclipse.aether.named.providers.FileLockNamedLockFactory
Tweak: When FileLockNamedLockFactory.SYSTEM_PROP_ATTEMPTS used, the amount of milliseconds to sleep between subsequent retries.

T

toString() - Method in class org.eclipse.aether.named.NamedLockKey
 
toString() - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
tryAcquire(int, long, TimeUnit) - Method in interface org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock.AdaptedSemaphore
 

U

unlock() - Method in interface org.eclipse.aether.named.NamedLock
Unlocks the lock, must be invoked by caller after one of the NamedLock.lockShared(long, TimeUnit) or NamedLock.lockExclusively(long, TimeUnit).
unlock() - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
A C D E F G H I K L N O R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form