Uses of Class
kilim.Scheduler
-
Packages that use Scheduler Package Description kilim kilim.http kilim.nio -
-
Uses of Scheduler in kilim
Subclasses of Scheduler in kilim Modifier and Type Class Description classAffineSchedulerclassForkJoinSchedulerFields in kilim declared as Scheduler Modifier and Type Field Description static SchedulerScheduler. defaultSchedulerstatic SchedulerScheduler. pinnableSchedulerprotected SchedulerTask. schedulerThe object responsible for handing this task to a thread when the task is runnable.Methods in kilim that return Scheduler Modifier and Type Method Description static SchedulerScheduler. getDefaultPinnable()get and possibly instantiate a scheduler that is pinnablestatic SchedulerScheduler. getDefaultScheduler()get and possibly instantiate a default schedulerprotected SchedulerScheduler. getPinnable()SchedulerTask. getScheduler()static SchedulerScheduler. make(int numThreads)return a new default Scheduler with default queue lengthMethods in kilim with parameters of type Scheduler Modifier and Type Method Description protected static voidScheduler. logRelay(Scheduler sched, java.lang.Object src, java.lang.Object obj)a static accessor to allow log to be protectedvoidTask. resumeOnScheduler(Scheduler s)static voidScheduler. setDefaultPinnable(Scheduler s)static voidScheduler. setDefaultScheduler(Scheduler s)Task<TT>Task. setScheduler(Scheduler s) -
Uses of Scheduler in kilim.http
Methods in kilim.http with parameters of type Scheduler Modifier and Type Method Description voidHttpServer. listen(int port, java.lang.Class<? extends HttpSession> httpSessionClass, Scheduler httpSessionScheduler)Sets up a listener on the supplied port, and when a fresh connection comes in, it creates a new instance of the httpSessionClass task and exceutes it on the supplied scheduler.voidHttpServer. listen(int port, NioSelectorScheduler.SessionFactory factory, Scheduler httpSessionScheduler) -
Uses of Scheduler in kilim.nio
Subclasses of Scheduler in kilim.nio Modifier and Type Class Description private static classEndPoint.Schedprivate static classSessionTask.SchedMethods in kilim.nio with parameters of type Scheduler Modifier and Type Method Description intNioSelectorScheduler. listen(int port, java.lang.Class<? extends SessionTask> sockTaskClass, Scheduler sockTaskScheduler)intNioSelectorScheduler. listen(int port, NioSelectorScheduler.SessionFactory factory, Scheduler sockTaskScheduler)private intNioSelectorScheduler. listen(NioSelectorScheduler.ListenTask t, Scheduler sockTaskScheduler)(package private) static voidEndPoint.Sched. log(Scheduler sched, java.lang.Object src, java.lang.Object obj)(package private) static voidSessionTask.Sched. log(Scheduler sched, java.lang.Object src, java.lang.Object obj)
-