public class Queue extends Object implements Serializable
Constructor and Description |
---|
Queue()
Default constructor.
|
Queue(String name,
String queueType,
int priority,
int totalJobs,
String mtime,
String stateCount,
int maxUserRun,
boolean enabled,
boolean started)
Constructor with args.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxUserRun() |
String |
getMtime() |
String |
getName() |
int |
getPriority() |
String |
getQueueType() |
Map<String,String> |
getResourcesAssigned() |
Map<String,String> |
getResourcesDefault() |
Map<String,String> |
getResourcesMax() |
Map<String,String> |
getResourcesMin() |
String |
getStateCount() |
int |
getTotalJobs() |
boolean |
isEnabled() |
boolean |
isStarted() |
void |
setEnabled(boolean enabled) |
void |
setMaxUserRun(int maxUserRun) |
void |
setMtime(String mtime) |
void |
setName(String name) |
void |
setPriority(int priority) |
void |
setQueueType(String queueType) |
void |
setStarted(boolean started) |
void |
setStateCount(String stateCount) |
void |
setTotalJobs(int totalJobs) |
String |
toString() |
public Queue()
public Queue(String name, String queueType, int priority, int totalJobs, String mtime, String stateCount, int maxUserRun, boolean enabled, boolean started)
name
- namequeueType
- queye typepriority
- queue prioritytotalJobs
- total of jobsstateCount
- state countmtime
- mtimemaxUserRun
- maximum user runenabled
- enabled flagstarted
- started flagpublic String getName()
public void setName(String name)
name
- the name to setpublic String getQueueType()
public void setQueueType(String queueType)
queueType
- the queueType to setpublic int getPriority()
public void setPriority(int priority)
priority
- the priority to setpublic int getTotalJobs()
public void setTotalJobs(int totalJobs)
totalJobs
- the totalJobs to setpublic String getMtime()
public void setMtime(String mtime)
mtime
- the mtime to setpublic String getStateCount()
public void setStateCount(String stateCount)
stateCount
- the stateCount to setpublic int getMaxUserRun()
public void setMaxUserRun(int maxUserRun)
maxUserRun
- the maxUserRun to setpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- the enabled to setpublic boolean isStarted()
public void setStarted(boolean started)
started
- the started to setpublic Map<String,String> getResourcesAssigned()
Copyright © 2012–2015 TupiLabs. All rights reserved.