|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.platform.ego.impl.Consumer
public class Consumer
Consumer specifies detailed definition of consumer. A consumer is a generalized notion of something that uses a resource. In the context of allocation, consumer (or consumer node) corresponds to a node on the consumer tree where resource distribution policies are defined.
Constructor Summary | |
---|---|
Consumer()
|
Method Summary | |
---|---|
java.lang.String[] |
getAdmins()
Get administrators of consumer. |
java.lang.String |
getExecuser()
Get execution user of consumer. |
java.lang.String |
getName()
Get name of consumer. |
java.lang.String[] |
getPlans()
Get resource groups of consumer. |
boolean |
getRebalance()
Get rebalance flag. |
int |
getReclaimtimeout()
Get timeout of reclaim. |
java.lang.String[] |
getUsers()
Get users of consumer. |
void |
setAdmins(java.lang.String[] admins)
Set administrators of consumer |
void |
setExecuser(java.lang.String execuser)
Set execution user of consumer. |
void |
setName(java.lang.String name)
Set name of consumer. |
void |
setPlans(java.lang.String[] plans)
Set resource groups of consumer |
void |
setRebalance(boolean rebalance)
Set rebalance flag |
void |
setReclaimtimeout(int reclaimtimeout)
Set timeout of reclaim |
void |
setUsers(java.lang.String[] users)
Set users of consumer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Consumer()
Method Detail |
---|
public java.lang.String[] getAdmins()
public void setAdmins(java.lang.String[] admins)
admins
- : specifies administrators of consumerpublic java.lang.String getExecuser()
public void setExecuser(java.lang.String execuser)
execuser
- : specifies execution user of consumer.public java.lang.String getName()
public void setName(java.lang.String name)
name
- : specifies name of consumer.public java.lang.String[] getPlans()
public void setPlans(java.lang.String[] plans)
plans
- : specifies resource group of consumerpublic boolean getRebalance()
public void setRebalance(boolean rebalance)
rebalance
- : specifies rebalance flagpublic int getReclaimtimeout()
public void setReclaimtimeout(int reclaimtimeout)
reclaimtimeout
- : specifies timeout of reclaimpublic java.lang.String[] getUsers()
public void setUsers(java.lang.String[] users)
users
- : specifies users of consumer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |