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 PriorityPriority. DEFAULTThe default starting priority for a job.static PriorityPriority. FLOORThe default lowest priority for a job.Methods in ai.preferred.venom.job that return Priority Modifier and Type Method Description PriorityPriority. downgrade()Returns the priority one level below the current priority if priority is higher than the default floor or the lowest available priority.PriorityPriority. 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.PriorityBasicJob. getPriority()PriorityJob. getPriority()Get the current priority set for this job.static PriorityPriority. valueOf(java.lang.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 voidAbstractQueueScheduler. add(Request r, Handler h, Priority p)voidAbstractQueueScheduler. add(Request r, Priority p)voidAbstractQueueScheduler. add(Request r, Priority p, Priority pf)voidFIFOScheduler. add(@NotNull Request r, @NotNull Handler h, Priority p, Priority pf)voidLazyScheduler. add(Request r, Handler h, Priority p, Priority pf)voidPriorityQueueScheduler. add(Request r, Handler h, Priority p, Priority pf)voidScheduler. add(@NotNull Request r, @NotNull Handler h, Priority p)Adds a request to the queue.voidScheduler. add(@NotNull Request r, @NotNull Handler h, Priority p, Priority pf)Adds a request to the queue.voidScheduler. add(@NotNull Request r, Priority p)Adds a request to the queue.voidScheduler. add(@NotNull Request r, Priority p, Priority pf)Adds a request to the queue.PriorityPriority. 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 BasicJob(Request request, Handler handler, Priority priority, Priority priorityFloor, java.util.Queue<Job> queue)Constructs a basic job.
-