Skip navigation links
C E G I L M S T U 

C

com.tomasteubner.common.sync - package com.tomasteubner.common.sync
This package contains synchronization classes.
Condition - Class in com.tomasteubner.common.sync
A Condition is used to exchange the state of a boolean condition between threads.
Condition(Mutex) - Constructor for class com.tomasteubner.common.sync.Condition
Construct condition with specific mutex.
Condition() - Constructor for class com.tomasteubner.common.sync.Condition
Construct condition with internal mutex.
conditionNotify() - Method in class com.tomasteubner.common.sync.Condition
Notify condition has been met.
conditionNotifyAll() - Method in class com.tomasteubner.common.sync.Condition
Notify all threads that condition has been met.
conditionWait() - Method in class com.tomasteubner.common.sync.Condition
Wait until condition has been met.

E

enter() - Method in class com.tomasteubner.common.sync.Gate
Enter the Gate.

G

Gate - Class in com.tomasteubner.common.sync
A Gate is used to lock and unlock access to a resource.
Gate(boolean) - Constructor for class com.tomasteubner.common.sync.Gate
Construct gate.
Gate() - Constructor for class com.tomasteubner.common.sync.Gate
Construct unlocked Gate.

I

isLocked() - Method in class com.tomasteubner.common.sync.Gate
Check if the Gate is locked.

L

lock() - Method in class com.tomasteubner.common.sync.Condition
Lock the Condition.
lock() - Method in class com.tomasteubner.common.sync.Gate
Lock the Gate.
lock() - Method in class com.tomasteubner.common.sync.Mutex
Lock the Mutex.
lock(int) - Method in class com.tomasteubner.common.sync.Semaphore
Lock n resources.
lock() - Method in class com.tomasteubner.common.sync.Semaphore
Lock 1 resource.
lock() - Method in interface com.tomasteubner.common.sync.SyncInterface
Lock object.

M

Mutex - Class in com.tomasteubner.common.sync
A Mutex can be used to assert mutual exclusive access to a resource.
Mutex() - Constructor for class com.tomasteubner.common.sync.Mutex
Default constructor.

S

Semaphore - Class in com.tomasteubner.common.sync
A Semaphore is a kind of synchronized counter.
Semaphore(int) - Constructor for class com.tomasteubner.common.sync.Semaphore
Construct semaphore.
SyncInterface - Interface in com.tomasteubner.common.sync
Title: Generic synchronization interface Description: Copyright: Copyright (c) 2001 Company: Tomas Teubner

T

toString() - Method in class com.tomasteubner.common.sync.Condition
 
toString() - Method in class com.tomasteubner.common.sync.Gate
 
toString() - Method in class com.tomasteubner.common.sync.Mutex
 
trylock() - Method in class com.tomasteubner.common.sync.Condition
Try to lock the Condition.
tryLock() - Method in class com.tomasteubner.common.sync.Gate
Try to lock the Gate.
tryLock() - Method in class com.tomasteubner.common.sync.Mutex
Try to lock the Mutex.
trylock(int) - Method in class com.tomasteubner.common.sync.Semaphore
Try to lock n resources.
tryLock() - Method in class com.tomasteubner.common.sync.Semaphore
Try to lock 1 resource.
tryLock() - Method in interface com.tomasteubner.common.sync.SyncInterface
Try to lock object.

U

unlock() - Method in class com.tomasteubner.common.sync.Condition
Unlock the Condition.
unlock() - Method in class com.tomasteubner.common.sync.Gate
Unlock the Gate.
unlock() - Method in class com.tomasteubner.common.sync.Mutex
Unlock the Mutex.
unlock(int) - Method in class com.tomasteubner.common.sync.Semaphore
Unlock n resources
unlock() - Method in class com.tomasteubner.common.sync.Semaphore
Unlock 1 resource.
unlock() - Method in interface com.tomasteubner.common.sync.SyncInterface
Unlock object.
C E G I L M S T U 
Skip navigation links

Copyright © 2014–2016 Tomas Teubner. All rights reserved.