| Package | Description |
|---|---|
| ai.preferred.venom | |
| ai.preferred.venom.job |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Handler
This interface represents the method call when the response is makeValidResponse
the parsing logic will be up to individual implementations.
|
| Modifier and Type | Method and Description |
|---|---|
Handleable |
HandlerRouter.getHandler(@NotNull Request request)
Returns the handler to be used for a specified request.
|
| Modifier and Type | Method and Description |
|---|---|
Handleable |
Job.getHandler()
Get the handler to handle the response of the job.
|
Handleable |
BasicJob.getHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
Scheduler.add(@NotNull Request r,
@NotNull Handleable h)
Adds a request to the queue.
|
void |
AbstractQueueScheduler.add(Request r,
Handleable h) |
void |
Scheduler.add(@NotNull Request r,
@NotNull Handleable h,
Priority p)
Adds a request to the queue.
|
void |
AbstractQueueScheduler.add(Request r,
Handleable h,
Priority p) |
void |
Scheduler.add(@NotNull Request r,
@NotNull Handleable h,
Priority p,
Priority pf)
Adds a request to the queue.
|
void |
PriorityQueueScheduler.add(Request r,
Handleable h,
Priority p,
Priority pf) |
void |
LazyScheduler.add(Request r,
Handleable h,
Priority p,
Priority pf) |
void |
FIFOScheduler.add(@NotNull Request r,
@NotNull Handleable h,
Priority p,
Priority pf) |
| Constructor and Description |
|---|
BasicJob(Request request,
Handleable handler,
Priority priority,
Priority priorityFloor,
Queue<Job> queue)
Constructs a basic job.
|
Copyright © 2018. All rights reserved.