com.platform.ego.impl
Class ResourceInfo

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

public class ResourceInfo
extends java.lang.Object

ResourceInfo provides detailed information of resource. This class is mainly used in functions that query information directly from the EGO Master.

Version:
1.2.3

Constructor Summary
ResourceInfo()
           
 
Method Summary
 Attribute[] getAttributes()
          Get host attributes.
 java.lang.String getName()
          Get name of host.
 int getSlotsNumber()
          Get number of slots on the resource.
 ResourceState getState()
          Get state of resource.
 java.lang.String getType()
          Get type of resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceInfo

public ResourceInfo()
Method Detail

getAttributes

public Attribute[] getAttributes()
Get host attributes.

Returns:
host attributes.

getName

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

Returns:
name of host.

getSlotsNumber

public int getSlotsNumber()
Get number of slots on the resource.

Returns:
number of slots on the resource.

getState

public ResourceState getState()
Get state of resource.

Returns:
state of resource.

getType

public java.lang.String getType()
Get type of resource.

Returns:
type of resource.


Copyright (C) 1992-2007 Platform Computing Corporation