public static class Scheduler.HandledRequestHolder extends Object implements Comparable<Scheduler.HandledRequestHolder>
| Constructor and Description |
|---|
HandledRequestHolder(Request request,
Handleable handler,
Scheduler.Priority priority,
Scheduler.Priority priorityFloor) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Scheduler.HandledRequestHolder o) |
Scheduler.Priority |
downgrade() |
Scheduler.Priority |
downgrade(Scheduler.Priority priorityFloor) |
Handleable |
getHandler() |
Scheduler.Priority |
getPriority() |
Scheduler.Priority |
getPriorityFloor() |
Request |
getRequest() |
public HandledRequestHolder(Request request, Handleable handler, Scheduler.Priority priority, Scheduler.Priority priorityFloor)
public Request getRequest()
public Handleable getHandler()
public Scheduler.Priority getPriority()
public Scheduler.Priority getPriorityFloor()
public Scheduler.Priority downgrade()
public Scheduler.Priority downgrade(Scheduler.Priority priorityFloor)
public int compareTo(Scheduler.HandledRequestHolder o)
compareTo in interface Comparable<Scheduler.HandledRequestHolder>Copyright © 2018. All rights reserved.