Package | Description |
---|---|
io.druid.java.util.common.concurrent |
Modifier and Type | Method and Description |
---|---|
static ScheduledExecutors.Signal |
ScheduledExecutors.Signal.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduledExecutors.Signal[] |
ScheduledExecutors.Signal.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
ScheduledExecutors.scheduleAtFixedRate(ScheduledExecutorService exec,
org.joda.time.Duration rate,
Callable<ScheduledExecutors.Signal> callable) |
static void |
ScheduledExecutors.scheduleAtFixedRate(ScheduledExecutorService exec,
org.joda.time.Duration initialDelay,
org.joda.time.Duration rate,
Callable<ScheduledExecutors.Signal> callable) |
static void |
ScheduledExecutors.scheduleWithFixedDelay(ScheduledExecutorService exec,
org.joda.time.Duration delay,
Callable<ScheduledExecutors.Signal> callable)
Run callable repeatedly with the given delay between calls, after the given
initial delay, until it returns Signal.STOP.
|
static void |
ScheduledExecutors.scheduleWithFixedDelay(ScheduledExecutorService exec,
org.joda.time.Duration initialDelay,
org.joda.time.Duration delay,
Callable<ScheduledExecutors.Signal> callable)
Run callable repeatedly with the given delay between calls, until it
returns Signal.STOP.
|
Copyright © 2011–2017. All rights reserved.