Package | Description |
---|---|
ai.preferred.venom.job |
Modifier and Type | Field and Description |
---|---|
static Priority |
Priority.DEFAULT |
static Priority |
Priority.FLOOR |
Modifier and Type | Method and Description |
---|---|
Priority |
Priority.downgrade()
Returns the priority one level below the current
priority, if priority is higher than the default floor or the
lowest available priority.
|
Priority |
Priority.downgrade(Priority floor) |
Priority |
Job.getPriority()
Get the current priority set for this job.
|
Priority |
BasicJob.getPriority() |
static Priority |
Priority.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Priority[] |
Priority.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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 |
Scheduler.add(@NotNull Request r,
Priority p)
Adds a request to the queue
|
void |
AbstractQueueScheduler.add(Request r,
Priority p) |
void |
Scheduler.add(@NotNull Request r,
Priority p,
Priority pf)
Adds a request to the queue
|
void |
AbstractQueueScheduler.add(Request r,
Priority p,
Priority pf) |
Priority |
Priority.downgrade(Priority floor) |
Constructor and Description |
---|
BasicJob(Request request,
Handleable handler,
Priority priority,
Priority priorityFloor,
Queue<Job> queue) |
Copyright © 2018. All rights reserved.