| Package | Description |
|---|---|
| org.gcube.common.core.contexts.ghn | |
| org.gcube.common.core.state | |
| org.gcube.common.core.utils.handlers |
| Constructor and Description |
|---|
Scheduler(GHNContext ctxt,
long interval,
GCUBEScheduledHandler.Mode mode)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
GCUBEStatefulResource.launchTask(String taskName,
GCUBEHandler<T> task,
Long delay,
GCUBEScheduledHandler.Mode mode)
Launches a scheduled task associated with the WS-Resource.
|
| Modifier and Type | Method and Description |
|---|---|
GCUBEScheduledHandler.Mode |
GCUBEScheduledHandler.getMode()
Returns the execution mode of the
ScheduledHandler. |
static GCUBEScheduledHandler.Mode |
GCUBEScheduledHandler.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GCUBEScheduledHandler.Mode[] |
GCUBEScheduledHandler.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GCUBEScheduledHandler.setMode(GCUBEScheduledHandler.Mode mode)
Sets the execution mode of the
ScheduledHandler. |
| Constructor and Description |
|---|
GCUBEScheduledHandler(long interval,
GCUBEScheduledHandler.Mode mode,
GCUBEHandler<HANDLED>... handler)
Creates an instance with a given execution mode, time interval, and scheduled handler.
|
Copyright © 2015. All Rights Reserved.