A C D E G H I J K O P Q R S T U V

A

AbstractLogEqLock<OBJ_T,LOCK_T> - Class in jconch.lock
Provides the basic implementation for logically equivalent locks.
AbstractLogEqLock() - Constructor for class jconch.lock.AbstractLogEqLock
 
Assert - Class in jconch.testing
A collection of helpful concurrency based assert methods.
assertSynchronized(Callable<? extends Collection<Callable<Void>>>) - Static method in class jconch.testing.Assert
The assertSynchronized method attempts to cause concurrency errors by repeatedly invoking code on seperate threads.
assertSynchronized(Callable<? extends Collection<Callable<Void>>>, int, int) - Static method in class jconch.testing.Assert
This is the same as Assert.assertSynchronized(Callable) expect that the thread pool size and the number or iterations can be specified.
asTransformer() - Method in class jconch.cache.CacheMap
Provides access to this object as a Transformer.
awaitTermination(long, TimeUnit) - Method in class jconch.testing.SerialExecutorService
Returns immedietly.

C

CacheMap<KEY_T,VAL_T> - Class in jconch.cache
A map that provides cached look-ups in a thread-safe manner.
CacheMap(Transformer5<KEY_T, VAL_T>) - Constructor for class jconch.cache.CacheMap
Constructs a new instance of the cache map, which uses its own internal set of locks (see CacheMap.CacheMap(Transformer5, SyncLogEqLock)).
CacheMap(Transformer5<KEY_T, VAL_T>, SyncLogEqLock<KEY_T>) - Constructor for class jconch.cache.CacheMap
Constructs a new instance of the cache map.
clear() - Method in class jconch.cache.CacheMap
Clears the cache.
containsKey(Object) - Method in class jconch.cache.CacheMap
Determines whether the value for the current key is in cache.
containsValue(Object) - Method in class jconch.cache.CacheMap
Whether the value is in the cache.
createNewLock() - Method in class jconch.lock.AbstractLogEqLock
Implementation of the "lock" that is created.
createNewLock() - Method in class jconch.lock.RWLogEqLock
 
createNewLock() - Method in class jconch.lock.SyncLogEqLock
 

D

DuoKey<KEY_T1,KEY_T2> - Class in jconch.multikey
 
DuoKey(KEY_T1, KEY_T2) - Constructor for class jconch.multikey.DuoKey
 

E

entrySet() - Method in class jconch.cache.CacheMap
Provides the set of cached values.
equals(Object) - Method in class jconch.cache.CacheMap
Determines equality based on cached operation definition.
equals(Object) - Method in class jconch.multikey.JConchMultiKey
 
execute(Runnable) - Method in class jconch.testing.SerialExecutorService
Executes the runnable immedietly on the current thread.

G

get(Object) - Method in class jconch.cache.CacheMap
Gets the value for the given object.
getGlobalInstance() - Static method in class jconch.lock.RWLogEqLock
Provides the same instance of this class every time.
getGlobalInstance() - Static method in class jconch.lock.SyncLogEqLock
Provides the same instance of this class every time it is called.
getKey1() - Method in class jconch.multikey.UniKey
 
getKey2() - Method in class jconch.multikey.DuoKey
 
getKey3() - Method in class jconch.multikey.TriKey
 
getKey4() - Method in class jconch.multikey.QuadKey
 
getKeyCount() - Method in class jconch.multikey.DuoKey
 
getKeyCount() - Method in class jconch.multikey.JConchMultiKey
The number of elements in the multikey.
getKeyCount() - Method in class jconch.multikey.QuadKey
 
getKeyCount() - Method in class jconch.multikey.TriKey
 
getKeyCount() - Method in class jconch.multikey.UniKey
 
getKeys() - Method in class jconch.multikey.DuoKey
 
getKeys() - Method in class jconch.multikey.JConchMultiKey
The keys that make up the multikey.
getKeys() - Method in class jconch.multikey.QuadKey
 
getKeys() - Method in class jconch.multikey.TriKey
 
getKeys() - Method in class jconch.multikey.UniKey
 
getLock(OBJ_T) - Method in class jconch.lock.AbstractLogEqLock
Provides a lock for the given object.
getTransformer() - Method in class jconch.cache.CacheMap
Provides the underlying cache operation.
GroovyCacheMap - Class in jconch.cache
Creates CacheMap based on a Groovy closure.
GroovyCacheMap(Closure, SyncLogEqLock<Object>) - Constructor for class jconch.cache.GroovyCacheMap
 
GroovyCacheMap(Closure) - Constructor for class jconch.cache.GroovyCacheMap
 
GroovyClosureTransformer - Class in jconch.functor
 
GroovyClosureTransformer(Closure) - Constructor for class jconch.functor.GroovyClosureTransformer
 

H

hashCode() - Method in class jconch.cache.CacheMap
Provides the hash code based on the cached operation definition.
hashCode() - Method in class jconch.multikey.JConchMultiKey
 
hasLockFor(OBJ_T) - Method in class jconch.lock.AbstractLogEqLock
Determines if we have a lock for the given object currently at hand.

I

invokeAll(Collection<? extends Callable<T>>) - Method in class jconch.testing.SerialExecutorService
Executes all the tasks on the current thread immedietly.
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class jconch.testing.SerialExecutorService
Executes all the tasks on the current thread immedietly.
invokeAny(Collection<? extends Callable<T>>) - Method in class jconch.testing.SerialExecutorService
Executes the tasks immedietly on the current thread, returning the first result available that didn't result in an exception.
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class jconch.testing.SerialExecutorService
Executes the tasks immedietly on the current thread, returning the first result available that didn't result in an exception.
isEmpty() - Method in class jconch.cache.CacheMap
Determines if there is anything in the cache.
isShutdown() - Method in class jconch.testing.SerialExecutorService
 
isTerminated() - Method in class jconch.testing.SerialExecutorService
 

J

jconch.cache - package jconch.cache
Collection data types that provide cached look-ups in a thread-safe manner.
jconch.functor - package jconch.functor
Function objects used in transformations.
jconch.lock - package jconch.lock
Locking implementations, including logically equivalent locks.
jconch.multikey - package jconch.multikey
Provides Map keys based on multiple objects.
jconch.testing - package jconch.testing
A collection of useful utilities for testing concurrent and multithreaded code.
JConchMultiKey - Class in jconch.multikey
A fast, typed, non-modifiable, thread-safe implementation of having multiple keys for a map.
JConchMultiKey() - Constructor for class jconch.multikey.JConchMultiKey
 

K

keySet() - Method in class jconch.cache.CacheMap
The set of keys currently loaded into the cache.

O

ObjectCacheMap - Class in jconch.cache
 
ObjectCacheMap(Transformer, SyncLogEqLock<Object>) - Constructor for class jconch.cache.ObjectCacheMap
 
ObjectCacheMap(Transformer) - Constructor for class jconch.cache.ObjectCacheMap
 
ObjectCacheMap(Transformer5<Object, Object>, SyncLogEqLock<Object>) - Constructor for class jconch.cache.ObjectCacheMap
 
ObjectCacheMap(Transformer5<Object, Object>) - Constructor for class jconch.cache.ObjectCacheMap
 

P

put(KEY_T, VAL_T) - Method in class jconch.cache.CacheMap
Sets key to map to value in this map.
putAll(Map<? extends KEY_T, ? extends VAL_T>) - Method in class jconch.cache.CacheMap
Copies all of the giving mappings into the cache.

Q

QuadKey<KEY_T1,KEY_T2,KEY_T3,KEY_T4> - Class in jconch.multikey
 
QuadKey(KEY_T1, KEY_T2, KEY_T3, KEY_T4) - Constructor for class jconch.multikey.QuadKey
 

R

remove(Object) - Method in class jconch.cache.CacheMap
Removes an object from the cache.
RWLogEqLock<OBJ_T> - Class in jconch.lock
Class that provides ReadWriteLock instances tagged by logically equivalent objects.
RWLogEqLock() - Constructor for class jconch.lock.RWLogEqLock
Constructor.

S

SerialExecutorService - Class in jconch.testing
This ExecutorService never spawns any new threads, it always executes everything it can immedietely.
SerialExecutorService() - Constructor for class jconch.testing.SerialExecutorService
 
shutdown() - Method in class jconch.testing.SerialExecutorService
 
shutdownNow() - Method in class jconch.testing.SerialExecutorService
Marks the executor as shutdown, and now more tasks are accepted for execution.
SimpleDuoKey<KEY_T> - Class in jconch.multikey
Like DuoKey, but with one class.
SimpleDuoKey(KEY_T, KEY_T) - Constructor for class jconch.multikey.SimpleDuoKey
 
SimpleQuadKey<KEY_T> - Class in jconch.multikey
 
SimpleQuadKey(KEY_T, KEY_T, KEY_T, KEY_T) - Constructor for class jconch.multikey.SimpleQuadKey
 
SimpleTriKey<KEY_T> - Class in jconch.multikey
 
SimpleTriKey(KEY_T, KEY_T, KEY_T) - Constructor for class jconch.multikey.SimpleTriKey
 
size() - Method in class jconch.cache.CacheMap
Provides the size of the cache at the moment.
submit(Callable<T>) - Method in class jconch.testing.SerialExecutorService
Executes the task immedietly on the current thread.
submit(Runnable, T) - Method in class jconch.testing.SerialExecutorService
Executes the task immedietly on the current thread, returning the result passed in.
submit(Runnable) - Method in class jconch.testing.SerialExecutorService
Executes the task immedietly on the current thread.
SyncLogEqLock<OBJ_T> - Class in jconch.lock
This class should be used to implement logically equivalent locks.
SyncLogEqLock() - Constructor for class jconch.lock.SyncLogEqLock
Default constructor.

T

transform(Object) - Method in class jconch.functor.GroovyClosureTransformer
 
transform(IN_T) - Method in interface jconch.functor.Transformer5
 
transform(Object) - Method in class jconch.functor.Transformer5Transformer
 
Transformer5<IN_T,OUT_T> - Interface in jconch.functor
 
Transformer5Transformer - Class in jconch.functor
 
Transformer5Transformer(Transformer) - Constructor for class jconch.functor.Transformer5Transformer
 
TriKey<KEY_T1,KEY_T2,KEY_T3> - Class in jconch.multikey
 
TriKey(KEY_T1, KEY_T2, KEY_T3) - Constructor for class jconch.multikey.TriKey
 

U

UniKey<KEY_T> - Class in jconch.multikey
A holder for a single key.
UniKey(KEY_T) - Constructor for class jconch.multikey.UniKey
 

V

values() - Method in class jconch.cache.CacheMap
Provides the values which have been generated at the moment.

A C D E G H I J K O P Q R S T U V