Uses of Class
kilim.Scheduler
Packages that use Scheduler
-
Uses of Scheduler in kilim
Modifier and TypeFieldDescriptionstatic SchedulerScheduler.defaultSchedulerstatic SchedulerScheduler.pinnableSchedulerprotected SchedulerTask.schedulerThe object responsible for handing this task to a thread when the task is runnable.Modifier and TypeMethodDescriptionstatic SchedulerScheduler.getDefaultPinnable()get and possibly instantiate a scheduler that is pinnablestatic SchedulerScheduler.getDefaultScheduler()get and possibly instantiate a default schedulerprotected SchedulerScheduler.getPinnable()Task.getScheduler()static SchedulerScheduler.make(int numThreads) return a new default Scheduler with default queue lengthModifier and TypeMethodDescriptionprotected static voida static accessor to allow log to be protectedvoidTask.resumeOnScheduler(Scheduler s) static voidScheduler.setDefaultPinnable(Scheduler s) static voidScheduler.setDefaultScheduler(Scheduler s) Task.setScheduler(Scheduler s) -
Uses of Scheduler in kilim.http
Methods in kilim.http with parameters of type SchedulerModifier and TypeMethodDescriptionvoidHttpServer.listen(int port, 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
Modifier and TypeClassDescriptionprivate static classprivate static classModifier and TypeMethodDescriptionintNioSelectorScheduler.listen(int port, 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 void(package private) static void