| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TimeUnit | |
|---|---|
| org.apache.openjpa.lib.util.concurrent | Concurrent Utilities | 
| Uses of TimeUnit in org.apache.openjpa.lib.util.concurrent | 
|---|
| Fields in org.apache.openjpa.lib.util.concurrent declared as TimeUnit | |
|---|---|
| static TimeUnit | TimeUnit.DAYS | 
| static TimeUnit | TimeUnit.HOURS | 
| static TimeUnit | TimeUnit.MICROSECONDS | 
| static TimeUnit | TimeUnit.MILLISECONDS | 
| static TimeUnit | TimeUnit.MINUTES | 
| static TimeUnit | TimeUnit.NANOSECONDS | 
| static TimeUnit | TimeUnit.SECONDS | 
| Methods in org.apache.openjpa.lib.util.concurrent that return TimeUnit | |
|---|---|
| static TimeUnit[] | TimeUnit.values() | 
| Methods in org.apache.openjpa.lib.util.concurrent with parameters of type TimeUnit | |
|---|---|
|  boolean | Condition.await(long time,
      TimeUnit unit)Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses. | 
| abstract  long | TimeUnit.convert(long sourceDuration,
        TimeUnit sourceUnit)Convert the given time duration in the given unit to this unit. | 
|  boolean | Lock.tryLock(long time,
        TimeUnit unit)Acquires the lock if it is free within the given waiting time and the current thread has not been interrupted. | 
|  boolean | ReentrantLock.tryLock(long timeout,
        TimeUnit unit)Acquires the lock if it is not held by another thread within the given waiting time and the current thread has not been interrupted. | 
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||