org.elasticsearch.river.routing
Class RiverRouting

java.lang.Object
  extended by org.elasticsearch.river.routing.RiverRouting
All Implemented Interfaces:
Streamable

public class RiverRouting
extends Object
implements Streamable


Method Summary
 DiscoveryNode node()
          The node the river is allocated to, null if its not allocated.
 void readFrom(StreamInput in)
           
static RiverRouting readRiverRouting(StreamInput in)
           
 RiverName riverName()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

riverName

public RiverName riverName()

node

public DiscoveryNode node()
The node the river is allocated to, null if its not allocated.


readRiverRouting

public static RiverRouting readRiverRouting(StreamInput in)
                                     throws IOException
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.