|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientInfoProvider
ClientInfoProvider is used to get various information about the EGO client.
Platform EGO aggregates information from all the hosts in the cluster providing a single point from which clients can request information about the state of any host. This includes the status of allocation requests, the consumer hierarchy including current resources assigned to each consumer, as well as activities that have been started in the distributed environment.
Method Summary | |
---|---|
ActivityInfo[] |
getActivityInfos(java.lang.String[] activityIDs,
java.lang.String[] consumerNames,
java.lang.String[] resourceNames)
Get detailed information about activities. |
AllocationInfo[] |
getAllocationInfos(java.lang.String consumerPath)
Get detailed information of allocations that is owned by the consumer. |
AllocationInfo[] |
getClientAllocationInfos(java.lang.String consumerPath)
Get detailed information about allocations that are owned by the consumer and allocated by the client. |
ClientInfo |
getClientInfo()
Get client detailed information. |
ConsumerHosts[] |
getConsumerHosts(java.lang.String consumerName)
Get detailed information about hosts that are owned by the consumer. |
java.lang.String |
getConsumerTree(RoleType type)
Get the static consumer tree. |
codegen.databinding.com.platform.www.DistributionPolicyConfigurationDocument.DistributionPolicyConfiguration |
getConsumerTree(RoleType type,
boolean tree)
Get the static consumer tree. |
Methods inherited from interface com.platform.ego.InfoProvider |
---|
getClientInfos, getClusterInfo, getDefinedHostType, getMasterHost, getMasterHostList, getResourceGroups, getResourceInfos, getResourceSummary, getRoles4User, getServiceInfo, getUsers, getUsers4Role, verifyResreq |
Method Detail |
---|
ClientInfo getClientInfo() throws EGOException
EGOException
java.lang.String getConsumerTree(RoleType type) throws EGOException, org.apache.xmlbeans.XmlException
type
- : specifies role that is not in properties information for consumer nodes.
EGOException,
- XmlException
EGOException
org.apache.xmlbeans.XmlException
codegen.databinding.com.platform.www.DistributionPolicyConfigurationDocument.DistributionPolicyConfiguration getConsumerTree(RoleType type, boolean tree) throws EGOException, org.apache.xmlbeans.XmlException
type
- : specifies role that is not in properties information for consumer nodes.tree
- : obtain the policy tree.
EGOException,
- XmlException
EGOException
org.apache.xmlbeans.XmlException
AllocationInfo[] getAllocationInfos(java.lang.String consumerPath) throws EGOException
consumerPath
- : specifies path of consumer.
if path of consumer equals empty, all allocations wil be returned.
EGOException
AllocationInfo[] getClientAllocationInfos(java.lang.String consumerPath) throws EGOException
consumerPath
- : specifies path of consumer.
if path of consumer equals empty, all allocations of the client will be returned.
EGOException
ActivityInfo[] getActivityInfos(java.lang.String[] activityIDs, java.lang.String[] consumerNames, java.lang.String[] resourceNames) throws EGOException
activityIDs
- : specifies ID of activity.consumerNames
- : specifies name of consumer.resourceNames
- : specifies name of resource.
EGOException
ConsumerHosts[] getConsumerHosts(java.lang.String consumerName) throws EGOException
consumerName
- : specifies path of consumer.
EGOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |