|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InfoProvider
Info-Provider is used to get various informations of EGO.
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.
Method Summary | |
---|---|
ClientInfo[] |
getClientInfos(java.lang.String clientName)
Get the infomation of client. |
ClusterInfo |
getClusterInfo()
Retrieve meta data about the EGO cluster. |
java.lang.String[] |
getDefinedHostType()
Get active host types. |
java.lang.String |
getMasterHost()
Get name of master host. |
java.lang.String[] |
getMasterHostList()
Get master candidate host list. |
ResourceGroup[] |
getResourceGroups(java.lang.String[] resourceGroupNames)
Get information about ResourceGroup(s). |
ResourceInfo[] |
getResourceInfos(java.lang.String resreq,
java.lang.String[] reslist)
Get resource information from EGO. |
ResourceSummary |
getResourceSummary()
Get host summary information. |
Role[] |
getRoles4User(java.lang.String username)
Get the role of certain user |
ServiceInfo[] |
getServiceInfo(java.lang.String serviceName)
Get the infomation of service named serviceName from EGO. |
User[] |
getUsers()
Get list of user who can use EGO cluster |
java.lang.String[] |
getUsers4Role(Role role)
Get the users of certain role |
boolean |
verifyResreq(java.lang.String resreq)
Verify resource requirement string's syntax is correct or not. |
Method Detail |
---|
ClusterInfo getClusterInfo() throws EGOException
EGOException
java.lang.String getMasterHost() throws EGOException
EGOException
java.lang.String[] getMasterHostList() throws EGOException
EGOException
ResourceSummary getResourceSummary() throws EGOException
EGOException
java.lang.String[] getDefinedHostType() throws EGOException
EGOException
ResourceGroup[] getResourceGroups(java.lang.String[] resourceGroupNames) throws EGOException
resourceGroupNames
- : specifies which resource group info is requested.
EGOException
ResourceInfo[] getResourceInfos(java.lang.String resreq, java.lang.String[] reslist) throws EGOException
resreq
- : specifies resource requirement string.reslist
- : specifies list of resource.
EGOException
ServiceInfo[] getServiceInfo(java.lang.String serviceName) throws EGOException
serviceName
- : specifies name of the service which is wanted to query
EGOException
- get failureRole[] getRoles4User(java.lang.String username) throws EGOException
username
- : specifies name of user
EGOException
- query failurejava.lang.String[] getUsers4Role(Role role) throws EGOException
role
- : specifies role which wanted to be queried
EGOException
- query failureUser[] getUsers() throws EGOException
EGOException
- query failureClientInfo[] getClientInfos(java.lang.String clientName) throws EGOException
clientName
- : specifies name of client.
EGOException
boolean verifyResreq(java.lang.String resreq) throws EGOException
resreq
- : specifies string of resource requirement.
EGOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |