public class QueueInfo extends Object implements Comparable<QueueInfo>, Serializable
| Constructor and Description |
|---|
QueueInfo() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(QueueInfo other) |
boolean |
equals(Object obj) |
List<Job> |
getJobs() |
String |
getName() |
Long |
getPending() |
Long |
getSize() |
int |
hashCode() |
Boolean |
isDelayed() |
void |
setDelayed(Boolean delayed) |
void |
setJobs(List<Job> jobs) |
void |
setName(String name) |
void |
setPending(Long pending) |
void |
setSize(Long size) |
String |
toString() |
public String getName()
public void setName(String name)
name - the name of the queuepublic Long getSize()
public void setSize(Long size)
size - the size of the queuepublic Boolean isDelayed()
public void setDelayed(Boolean delayed)
delayed - whether this queue is a delayed queuepublic Long getPending()
public void setPending(Long pending)
pending - the number of pending jobs in the queuepublic int compareTo(QueueInfo other)
compareTo in interface Comparable<QueueInfo>Copyright © 2011–2019. All rights reserved.