Uses of Class
kilim.Task
-
Packages that use Task Package Description kilim kilim.examples kilim.http kilim.nio -
-
Uses of Task in kilim
Subclasses of Task in kilim Modifier and Type Class Description static classContinuation.FakeTaskstatic classTask.Forkstatic classTask.Invoke<TT>static classTask.Spawn<TT>classTaskGroupFields in kilim declared as Task Modifier and Type Field Description (package private) TaskEmptySet_MsgAvListener. taskTask<TT>ExitMsg. taskTaskFiber. taskFields in kilim with type parameters of type Task Modifier and Type Field Description private Mailbox<Task>TaskGroup. addedTasksMBprotected java.util.concurrent.LinkedBlockingQueue<Task>AffineScheduler.Executor. queprivate static java.lang.ThreadLocal<Task>Scheduler. taskMgr_private java.util.HashSet<Task>TaskGroup. tasksMethods in kilim that return Task Modifier and Type Method Description static TaskTask. fork(Pausable.Fork body)Wraps the given object or lambda expression in a Task and starts that task.protected static TaskScheduler. getCurrentTask()static TaskTask. getCurrentTask()This is a placeholder that doesn't do anything useful.Task<TT>Task. setScheduler(Scheduler s)Task<TT>Task. start()Used to start the task; the task doesn't resume on its own.TaskFiber. task()Methods in kilim with parameters of type Task Modifier and Type Method Description voidTaskGroup. add(Task t)static voidTask. errNotWoven(Task t)static intTask. getStackDepth(Task task)The generated code calls Fiber.upEx, which in turn calls this to find out out where the current method is w.r.t the closest _runExecute method.booleanMailbox. hasMessage(Task eo)booleanMailbox. hasMessages(int num, Task eo)booleanCell. isValid(Task t)booleanEmptySet_MsgAvListener. isValid(Task t)booleanMailbox. isValid(Task t)booleanMailboxMPSC. isValid(Task t)booleanMailboxSPSC. isValid(Task t)booleanPauseReason. isValid(Task t)True if the given task's reason for pausing is still valid.booleanTaskDoneReason. isValid(Task t)booleanYieldReason. isValid(Task t)protected voidAffineScheduler.Executor. publish(Task task)(package private) voidAffineScheduler. publish(int index, Task task)voidAffineScheduler. schedule(int index, Task t)voidForkJoinScheduler. schedule(int index, Task task)abstract voidScheduler. schedule(int index, Task t)schedule a task to runvoidScheduler. schedule(Task t)Schedule a task to run.protected static voidScheduler. setCurrentTask(Task t)private booleanMailboxMPSC. srcContains(Task t)private booleanMailboxSPSC. srcContains(Task t)voidMailboxSPSC. subscribe(boolean avail, Task t, boolean set)Constructors in kilim with parameters of type Task Constructor Description EmptySet_MsgAvListener(Task t, Mailbox<?>[] mbs)ExitMsg(Task<TT> t, TT res)Fiber(Task t) -
Uses of Task in kilim.examples
Subclasses of Task in kilim.examples Modifier and Type Class Description classChainSet up a chain of tasks.classExSpawn a task, communicate through a shared mailbox.(package private) static classGroup.GroupTaskclassHttpFileServerA simple file server over http Usage: Run java kilim.examples.HttpFileServer [base directory name] From a browser, go to "http://localhost:7262".classPerfTest(package private) static classPerfTest.Producer1static classPing.ServerServer is a SessionTask, which means an instance of it is created by the NioSelectorScheduler on an incoming connection.static classPure.TaskDemoclassReflectstatic classSimpleHttpServer.SimpleHttpSessionclassSimpleTaskSpawn a task, communicate through a shared mailbox.classSimpleTask2A slight extension to SimpleTask.classTimedTaskCreates lots of tasks that print stuff, sleep, then wake up and print more.classTimerBlaststatic classTimerBlast.Tickstatic classTimerBlast2.TickclassTimerBlast2.TockclassUserdata -
Uses of Task in kilim.http
Subclasses of Task in kilim.http Modifier and Type Class Description classHttpSessionResponsible for creating an HTTPRequest object out of raw bytes from a socket, and for sending an HTTPResponse object in its entirety.static classHttpSession.StringSessionstatic classKilimMvc.Session -
Uses of Task in kilim.nio
Subclasses of Task in kilim.nio Modifier and Type Class Description (package private) classNioSelectorScheduler.ListenTaskclassNioSelectorScheduler.RegistrationTaskclassSessionTaskFields in kilim.nio declared as Task Modifier and Type Field Description private TaskNioSelectorScheduler. regtask
-