|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--jason.core.AbstractService
|
+--jason.core.ThreadableService
|
+--jason.core.service.InnerService
|
+--jason.core.service.Scheduler
| Field Summary | |
static ServiceType |
TYPE
|
| Fields inherited from class jason.core.ThreadableService |
activeThread |
| Fields inherited from class jason.core.AbstractService |
INITIALIZED, name, NOSTATE, serviceContext, STARTED, STOPPED |
| Fields inherited from interface jason.core.Service |
ERROR_MESSAGE, INFORMATION_MESSAGE, VERBOSE_MESSAGE, WARNING_MESSAGE |
| Constructor Summary | |
Scheduler()
By default this service is not starting as a thread for limiting cost for no SchedulableService instance |
|
| Method Summary | |
boolean |
isOverride()
This service type is 'overridable' |
ServiceResponse |
manageRequest(ServiceRequest request)
Manage a schedulable request |
protected void |
processSchedulableService(SchedulableService s)
|
protected void |
resetStartingDataTable(SchedulableService s)
|
protected void |
run()
User should override this method for running a task. |
| Methods inherited from class jason.core.ThreadableService |
actionForStart, enableServiceForThread, getThreadLoopDelay, isThreadLoopMode, isThreadStarted, isWaiting, notifyThreadRunning, runThread, setPriority, setThreadLoopDelay, setThreadLoopMode, threadNotify, threadWait |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static ServiceType TYPE
| Constructor Detail |
public Scheduler()
| Method Detail |
public ServiceResponse manageRequest(ServiceRequest request)
throws ServiceException
manageRequest in interface ServicemanageRequest in class AbstractServiceServiceExceptionprotected void processSchedulableService(SchedulableService s)
protected void run()
AbstractServicesetThreadLoopMode method
run in class AbstractServiceprotected void resetStartingDataTable(SchedulableService s)
public boolean isOverride()
isOverride in interface ServiceisOverride in class AbstractService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||