Class Policy.Session
- java.lang.Object
-
- org.apache.solr.client.solrj.cloud.autoscaling.Policy.Session
-
- All Implemented Interfaces:
MapSerializable
,MapWriter
,NavigableObject
- Enclosing class:
- Policy
public class Policy.Session extends Object implements MapWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Row
getNode(String node)
NodeStateProvider
getNodeStateProvider()
Policy
getPolicy()
List<Row>
getSortedNodes()
Suggester
getSuggester(CollectionParams.CollectionAction action)
List<Violation>
getViolations()
int
indexOf(String node)
String
toString()
void
writeMap(MapWriter.EntryWriter ew)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
-
-
-
-
Method Detail
-
getPolicy
public Policy getPolicy()
-
getSuggester
public Suggester getSuggester(CollectionParams.CollectionAction action)
-
writeMap
public void writeMap(MapWriter.EntryWriter ew) throws IOException
- Specified by:
writeMap
in interfaceMapWriter
- Throws:
IOException
-
getNodeStateProvider
public NodeStateProvider getNodeStateProvider()
-
indexOf
public int indexOf(String node)
-
-