Spring for Apache Hadoop

org.springframework.yarn.test.support
Class ClusterInfo

java.lang.Object
  extended by org.springframework.yarn.test.support.ClusterInfo

public class ClusterInfo
extends java.lang.Object

Object keeping some testing cluster init info.

Author:
Janne Valkealahti

Constructor Summary
ClusterInfo()
           
ClusterInfo(java.lang.String id, int numYarn, int numDfs)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getId()
           
 int getNumDfs()
           
 int getNumYarn()
           
 int hashCode()
           
 void setId(java.lang.String id)
           
 void setNumDfs(int numDfs)
           
 void setNumYarn(int numYarn)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterInfo

public ClusterInfo()

ClusterInfo

public ClusterInfo(java.lang.String id,
                   int numYarn,
                   int numDfs)
Method Detail

getNumYarn

public int getNumYarn()

setNumYarn

public void setNumYarn(int numYarn)

getNumDfs

public int getNumDfs()

setNumDfs

public void setNumDfs(int numDfs)

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Spring for Apache Hadoop