Index

A C D F G L N O R S T U 
All Classes and Interfaces|All Packages|Constant Field Values

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(String, 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(String) - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
 
createLock(String) - Method in class org.eclipse.aether.named.providers.FileLockNamedLockFactory
 
createLock(String) - Method in class org.eclipse.aether.named.providers.LocalReadWriteLockNamedLockFactory
 
createLock(String) - Method in class org.eclipse.aether.named.providers.LocalSemaphoreNamedLockFactory
 
createLock(String) - Method in class org.eclipse.aether.named.providers.NoopNamedLockFactory
 
createLock(String) - 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(String) - Method in class org.eclipse.aether.named.providers.FileLockNamedLockFactory
 
destroyLock(String) - 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.

F

FileLockNamedLock - Class in org.eclipse.aether.named.support
Named lock that uses FileLock.
FileLockNamedLock(String, 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(String) - Method in interface org.eclipse.aether.named.NamedLockFactory
Creates or reuses existing NamedLock.
getLock(String) - Method in class org.eclipse.aether.named.support.NamedLockFactorySupport
 

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.AdaptedSemaphoreNamedLock
 
lockExclusively(long, TimeUnit) - Method in class org.eclipse.aether.named.support.FileLockNamedLock
 
lockExclusively(long, TimeUnit) - Method in class org.eclipse.aether.named.support.ReadWriteLockNamedLock
 
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.AdaptedSemaphoreNamedLock
 
lockShared(long, TimeUnit) - Method in class org.eclipse.aether.named.support.FileLockNamedLock
 
lockShared(long, TimeUnit) - Method in class org.eclipse.aether.named.support.ReadWriteLockNamedLock
 
logger - Variable in class org.eclipse.aether.named.support.NamedLockFactorySupport
 
logger - Variable in class org.eclipse.aether.named.support.NamedLockSupport
 

N

name() - Method in interface org.eclipse.aether.named.NamedLock
Returns this instance name, never null
name() - Method in class org.eclipse.aether.named.support.NamedLockSupport
 
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
 
NamedLockSupport - Class in org.eclipse.aether.named.support
Support class for NamedLock implementations providing reference counting.
NamedLockSupport(String, 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

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(String, NamedLockFactorySupport, ReadWriteLock) - Constructor for class org.eclipse.aether.named.support.ReadWriteLockNamedLock
 
release(int) - Method in interface org.eclipse.aether.named.support.AdaptedSemaphoreNamedLock.AdaptedSemaphore
 
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.

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
 

T

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.AdaptedSemaphoreNamedLock
 
unlock() - Method in class org.eclipse.aether.named.support.FileLockNamedLock
 
unlock() - Method in class org.eclipse.aether.named.support.ReadWriteLockNamedLock
 
A C D F G L N O R S T U 
All Classes and Interfaces|All Packages|Constant Field Values