GNU Classpath (0.97.2) | |
Frames | No Frames |
Methods with parameter type java.util.concurrent.TimeUnit | |
boolean | Implements timed condition wait.
|
boolean | Implements timed condition wait.
|
boolean | Causes the current thread to wait until it is signalled or interrupted,
or the specified waiting time elapses. |
boolean | Acquires the lock if it is free within the given waiting time and the
current thread has not been interrupted.
|
boolean | Acquires the lock if it is not held by another thread within the given
waiting time and the current thread has not been
interrupted.
|
boolean | Acquires the read lock if the write lock is not held by
another thread within the given waiting time and the
current thread has not been interrupted.
|
boolean | Acquires the write lock if it is not held by another thread
within the given waiting time and the current thread has
not been interrupted.
|
Constructors with parameter type java.util.concurrent.TimeUnit | |
ThreadPoolExecutor.ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue Creates a new ThreadPoolExecutor with the given initial
parameters and default thread factory and rejected execution handler.
| |
ThreadPoolExecutor.ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue Creates a new ThreadPoolExecutor with the given initial
parameters and default thread factory.
| |
ThreadPoolExecutor.ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue Creates a new ThreadPoolExecutor with the given initial
parameters and default rejected execution handler.
| |
ThreadPoolExecutor.ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue Creates a new ThreadPoolExecutor with the given initial
parameters.
|
Methods with parameter type java.util.concurrent.TimeUnit | |
Executes the given tasks, returning a list of Futures holding
their status and results
when all complete or the timeout expires, whichever happens first.
| |
Executes the given tasks, returning a list of Futures holding
their status and results
when all complete or the timeout expires, whichever happens first.
| |
Creates and executes a ScheduledFuture that becomes enabled after the
given delay.
| |
Creates and executes a ScheduledFuture that becomes enabled after the
given delay.
| |
Executes the given tasks, returning the result
of one that has completed successfully (i.e., without throwing
an exception), if any do before the given timeout elapses.
| |
Executes the given tasks, returning the result
of one that has completed successfully (i.e., without throwing
an exception), if any do before the given timeout elapses.
| |
boolean | Causes the current thread to wait until the latch has counted down to
zero, unless the thread is interrupted,
or the specified waiting time elapses.
|
int | Waits until all parties have invoked
await on this barrier, or the specified waiting time elapses.
|
boolean | Blocks until all tasks have completed execution after a shutdown
request, or the timeout occurs, or the current thread is
interrupted, whichever happens first.
|
boolean | Blocks until all tasks have completed execution after a shutdown
request, or the timeout occurs, or the current thread is
interrupted, whichever happens first.
|
V | Waits for another thread to arrive at this exchange point (unless
the current thread is interrupted or
the specified waiting time elapses), and then transfers the given
object to it, receiving its object in return.
|
V | Waits if necessary for at most the given time for the computation
to complete, and then retrieves its result, if available.
|
V | |
long | Returns the remaining delay associated with this object, in the
given time unit.
|
long | Returns the thread keep-alive time, which is the amount of time
which threads in excess of the core pool size may remain
idle before being terminated.
|
boolean | Inserts the specified element at the tail of this queue, waiting
up to the specified wait time for space to become available if
the queue is full.
|
boolean | Inserts the specified element into the queue represented by this deque
(in other words, at the tail of this deque), waiting up to the
specified wait time if necessary for space to become available.
|
boolean | Inserts the specified element into this queue, waiting up to the
specified wait time if necessary for space to become available.
|
boolean | Inserts the specified element into this delay queue. |
boolean | |
boolean | Inserts the specified element at the tail of this queue, waiting if
necessary up to the specified wait time for space to become available.
|
boolean | Inserts the specified element into this priority queue. |
boolean | Inserts the specified element into this queue, waiting if necessary
up to the specified wait time for another thread to receive it.
|
boolean | Inserts the specified element at the front of this deque,
waiting up to the specified wait time if necessary for space to
become available.
|
boolean | |
boolean | Inserts the specified element at the end of this deque,
waiting up to the specified wait time if necessary for space to
become available.
|
boolean | |
E | |
E | Retrieves and removes the head of the queue represented by this deque
(in other words, the first element of this deque), waiting up to the
specified wait time if necessary for an element to become available.
|
E | Retrieves and removes the head of this queue, waiting up to the
specified wait time if necessary for an element to become available.
|
Future | Retrieves and removes the Future representing the next
completed task, waiting if necessary up to the specified wait
time if none are yet present.
|
E | Retrieves and removes the head of this queue, waiting if necessary
until an element with an expired delay is available on this queue,
or the specified wait time expires.
|
Future | Retrieves and removes the Future representing the next
completed task, waiting if necessary up to the specified wait
time if none are yet present.
|
E | |
E | |
E | Retrieves and removes the head of this queue, waiting up to the
specified wait time if necessary for an element to become available.
|
E | Retrieves and removes the head of this queue, waiting
if necessary up to the specified wait time, for another thread
to insert it.
|
E | Retrieves and removes the first element of this deque, waiting
up to the specified wait time if necessary for an element to
become available.
|
E | |
E | Retrieves and removes the last element of this deque, waiting
up to the specified wait time if necessary for an element to
become available.
|
E | |
ScheduledFuture> | Creates and executes a one-shot action that becomes enabled
after the given delay.
|
ScheduledFuture> | Creates and executes a one-shot action that becomes enabled
after the given delay.
|
ScheduledFuture> | ScheduledExecutorService.scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) Creates and executes a periodic action that becomes enabled first
after the given initial delay, and subsequently with the given
period; that is executions will commence after
initialDelay then initialDelay+period, then
initialDelay + 2 * period, and so on.
|
ScheduledFuture> | ScheduledThreadPoolExecutor.scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) Creates and executes a periodic action that becomes enabled first
after the given initial delay, and subsequently with the given
period; that is executions will commence after
initialDelay then initialDelay+period, then
initialDelay + 2 * period, and so on.
|
ScheduledFuture> | ScheduledExecutorService.scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) Creates and executes a periodic action that becomes enabled first
after the given initial delay, and subsequently with the
given delay between the termination of one execution and the
commencement of the next. |
ScheduledFuture> | ScheduledThreadPoolExecutor.scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) Creates and executes a periodic action that becomes enabled first
after the given initial delay, and subsequently with the
given delay between the termination of one execution and the
commencement of the next. |
void | Sets the time limit for which threads may remain idle before
being terminated. |
boolean | Acquires the given number of permits from this semaphore, if all
become available within the given waiting time and the current
thread has not been interrupted.
|
boolean | Acquires a permit from this semaphore, if one becomes available
within the given waiting time and the current thread has not
been interrupted.
|
GNU Classpath (0.97.2) |