|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsumerAdmin
This interface supports the control and management functions of EGO's consumer.
Method Summary | |
---|---|
void |
addConsumer(Consumer consumer,
java.lang.String parentPath)
Add consumer node and its properties. |
void |
delConsumer(java.lang.String consumerPath)
Delete consumer node and its properties. |
ConsumerHosts[] |
getConsumerResources(java.lang.String consumerPath)
Get resources that are allocated to specific consumer. |
void |
setConsumer(Consumer consumer,
java.lang.String consumerPath)
Set consumer node and its properties. |
void |
setResourcePlan(java.lang.String pathname,
codegen.databinding.com.platform.www.ConsumerDocument.Consumer cns,
java.lang.String rGroupName)
This operation allows an EGO administrator to manipulate the current policy for a Consumer. |
void |
setResourcePlan(java.lang.String path,
codegen.databinding.com.platform.www.DistributionPolicyConfigurationDocument.DistributionPolicyConfiguration dpcc,
java.lang.String[] dtNames)
Set the consumer policy. |
void |
setResourcePlan(java.lang.String path,
java.lang.String xmlstr)
Set the consumer policy using XML as input parameter. |
boolean |
verifyConsumerPath(java.lang.String consumerPath,
java.lang.String resourceGroupName)
Verify consumer path is valid or not. |
Method Detail |
---|
void setResourcePlan(java.lang.String path, java.lang.String xmlstr) throws EGOException, org.apache.xmlbeans.XmlException
path
- : specifies path of consumer.xmlstr
- : specifies policy of consumer.
EGOException
org.apache.xmlbeans.XmlException
void setResourcePlan(java.lang.String path, codegen.databinding.com.platform.www.DistributionPolicyConfigurationDocument.DistributionPolicyConfiguration dpcc, java.lang.String[] dtNames) throws EGOException, org.apache.xmlbeans.XmlException
path
- : specifies path of consumer.dpcc
- : specifies policy of consumer.distributionTreeNames
- : names of those trees that have been changed.
EGOException
org.apache.xmlbeans.XmlException
void setResourcePlan(java.lang.String pathname, codegen.databinding.com.platform.www.ConsumerDocument.Consumer cns, java.lang.String rGroupName) throws EGOException
pathname
- cns
- rGroupName
-
java.rmi.RemoteException
APIException
org.apache.xmlbeans.XmlException
EGOException
void addConsumer(Consumer consumer, java.lang.String parentPath) throws EGOException
consumer
- : specifies properties of consumer.parentPath
- : specifies path of consumer.
EGOException
void delConsumer(java.lang.String consumerPath) throws EGOException
consumerPath
- : specifies path of consumer.
EGOException
void setConsumer(Consumer consumer, java.lang.String consumerPath) throws EGOException
consumer
- : specifies properties of consumer.consumerPath
- : specifies path of consumer.
EGOException
ConsumerHosts[] getConsumerResources(java.lang.String consumerPath) throws EGOException
consumerPath
- : specifies path of consumer.
EGOException
boolean verifyConsumerPath(java.lang.String consumerPath, java.lang.String resourceGroupName) throws EGOException
consumerPath
- : specifies path of consumer.resourceGroupName
- : specifies name of resource group.
EGOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |