Uses of Class
ai.preferred.venom.job.Priority
-
Packages that use Priority Package Description ai.preferred.venom.job -
-
Uses of Priority in ai.preferred.venom.job
Fields in ai.preferred.venom.job declared as Priority Modifier and Type Field Description static Priority
Priority. DEFAULT
The default starting priority for a job.static Priority
Priority. FLOOR
The default lowest priority for a job.Methods in ai.preferred.venom.job that return Priority Modifier and Type Method 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)
Returns the priority one level below the current priority if priority is higher than the specified floor or the lowest available priority.Priority
PriorityJobAttribute. getPriority()
Get the priority in this attribute.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.Methods in ai.preferred.venom.job with parameters of type Priority Modifier and Type Method Description void
Scheduler. add(@NotNull Request r, Handler h, Priority p)
Deprecated.void
Scheduler. add(@NotNull Request r, Handler h, Priority p, Priority pf)
Deprecated.void
Scheduler. add(@NotNull Request r, Priority p)
Deprecated.void
Scheduler. add(@NotNull Request r, Priority p, Priority pf)
Deprecated.Priority
Priority. downgrade(Priority floor)
Returns the priority one level below the current priority if priority is higher than the specified floor or the lowest available priority.Constructors in ai.preferred.venom.job with parameters of type Priority Constructor Description PriorityJobAttribute(Priority priority)
Constructs an instance of PriorityJobAttribute.PriorityJobAttribute(Priority priority, Priority priorityFloor)
Constructs an instance of PriorityJobAttribute.
-