org.elasticsearch.river.routing
Class RiversRouting

java.lang.Object
  extended by org.elasticsearch.river.routing.RiversRouting
All Implemented Interfaces:
java.lang.Iterable<RiverRouting>

public class RiversRouting
extends java.lang.Object
implements java.lang.Iterable<RiverRouting>


Nested Class Summary
static class RiversRouting.Builder
           
 
Field Summary
static RiversRouting EMPTY
           
 
Method Summary
static RiversRouting.Builder builder()
           
 boolean hasRiverByName(java.lang.String name)
           
 boolean isEmpty()
           
 java.util.Iterator<RiverRouting> iterator()
           
 RiverRouting routing(RiverName riverName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final RiversRouting EMPTY
Method Detail

isEmpty

public boolean isEmpty()

routing

public RiverRouting routing(RiverName riverName)

hasRiverByName

public boolean hasRiverByName(java.lang.String name)

iterator

public java.util.Iterator<RiverRouting> iterator()
Specified by:
iterator in interface java.lang.Iterable<RiverRouting>

builder

public static RiversRouting.Builder builder()