com.platform.ego.impl
Class Consumer

java.lang.Object
  extended by com.platform.ego.impl.Consumer

public class Consumer
extends java.lang.Object

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.

Version:
1.2.3

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

Consumer

public Consumer()
Method Detail

getAdmins

public java.lang.String[] getAdmins()
Get administrators of consumer.

Returns:
administrators of consumer.

setAdmins

public void setAdmins(java.lang.String[] admins)
Set administrators of consumer

Parameters:
admins - : specifies administrators of consumer

getExecuser

public java.lang.String getExecuser()
Get execution user of consumer.

Returns:
execution user of consumer.

setExecuser

public void setExecuser(java.lang.String execuser)
Set execution user of consumer.

Parameters:
execuser - : specifies execution user of consumer.

getName

public java.lang.String getName()
Get name of consumer.

Returns:
name of consumer.

setName

public void setName(java.lang.String name)
Set name of consumer.

Parameters:
name - : specifies name of consumer.

getPlans

public java.lang.String[] getPlans()
Get resource groups of consumer.

Returns:
resource group of consumer.

setPlans

public void setPlans(java.lang.String[] plans)
Set resource groups of consumer

Parameters:
plans - : specifies resource group of consumer

getRebalance

public boolean getRebalance()
Get rebalance flag.

Returns:
rebalance flag.

setRebalance

public void setRebalance(boolean rebalance)
Set rebalance flag

Parameters:
rebalance - : specifies rebalance flag

getReclaimtimeout

public int getReclaimtimeout()
Get timeout of reclaim.

Returns:
timeout of reclaim.

setReclaimtimeout

public void setReclaimtimeout(int reclaimtimeout)
Set timeout of reclaim

Parameters:
reclaimtimeout - : specifies timeout of reclaim

getUsers

public java.lang.String[] getUsers()
Get users of consumer.

Returns:
users of consumer.

setUsers

public void setUsers(java.lang.String[] users)
Set users of consumer.

Parameters:
users - : specifies users of consumer.


Copyright (C) 1992-2007 Platform Computing Corporation