org.apache.hadoop.tools.rumen.datatypes
Class NodeName.NodeNameState

java.lang.Object
  extended by org.apache.hadoop.tools.rumen.datatypes.NodeName.NodeNameState
All Implemented Interfaces:
State
Enclosing class:
NodeName

public static class NodeName.NodeNameState
extends Object
implements State

A composite state for node-name.


Constructor Summary
NodeName.NodeNameState()
           
 
Method Summary
 WordList getHostNameState()
           
 String getName()
          Get the name of the state.
 WordList getRackNameState()
           
 boolean isUpdated()
          Returns true if the state is updated since creation (or reload).
 void setHostNameState(WordList state)
           
 void setName(String name)
          Set the name of the state.
 void setRackNameState(WordList state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeName.NodeNameState

public NodeName.NodeNameState()
Method Detail

isUpdated

public boolean isUpdated()
Description copied from interface: State
Returns true if the state is updated since creation (or reload).

Specified by:
isUpdated in interface State

getRackNameState

public WordList getRackNameState()

getHostNameState

public WordList getHostNameState()

setRackNameState

public void setRackNameState(WordList state)

setHostNameState

public void setHostNameState(WordList state)

getName

public String getName()
Description copied from interface: State
Get the name of the state.

Specified by:
getName in interface State

setName

public void setName(String name)
Description copied from interface: State
Set the name of the state.

Specified by:
setName in interface State


Copyright © 2012 Apache Software Foundation. All Rights Reserved.