|
Esri Geoportal Server 1.0
|
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
IScheduledTask | Scheduled task definition. |
Class Summary | |
---|---|
FileCleanup | Performs file clean up operation server communication. |
FileCleanupThread | Document cleanup background thread. |
ThreadDefinition | Thread definition. |
ThreadScheduler | Thread scheduler. |
ThreadSchedulerConfiguration | Collection of thread definitions. |
Thread scheduler.
Provides mechanizm to schedule threads defined in xml configuration file.
Entire configuration can be loaded into the
Configuration Object
.
[MILLISECOND], [SECOND], [MINUTE], [HOUR], [DAY], [WEEK], [MONTH]
<thread class="my.runnable" delay='5[MINUTE]'/>
2. Schedule thread to execute every day at five o'clock am.:
<thread class="my.runnable" at='05:00'/>
3. Schedule thread to be executed periodically with period of 2 hours and
initial delay of 5000 milliseconds:
<thread class="my.runnable" period='2[HOUR]' delay='5000'/>
or
<thread class="my.runnable" period='2[HOUR]' delay='5[SECOND]'/>
ThreadSchedulerConfiguration
,
ScheduledExecutorService
,
ScheduledFuture
|
Esri Geoportal Server 1.0
|
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |