Class Builders.NodeBuilder
- java.lang.Object
-
- org.apache.solr.cluster.placement.Builders.NodeBuilder
-
-
Constructor Summary
Constructors Constructor Description NodeBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.solr.cluster.Node
build()
Integer
getCoreCount()
Double
getFreeDiskGB()
Map<org.apache.solr.cluster.placement.NodeMetric<?>,Object>
getMetrics()
Map<String,String>
getSysprops()
Double
getTotalDiskGB()
Builders.NodeBuilder
setCoreCount(Integer coreCount)
Builders.NodeBuilder
setFreeDiskGB(Double freeDiskGB)
Builders.NodeBuilder
setMetric(org.apache.solr.cluster.placement.NodeMetric<?> metric, Object value)
Builders.NodeBuilder
setNodeName(String nodeName)
Builders.NodeBuilder
setSysprop(String key, String value)
Builders.NodeBuilder
setTotalDiskGB(Double totalDiskGB)
-
-
-
Method Detail
-
setNodeName
public Builders.NodeBuilder setNodeName(String nodeName)
-
setCoreCount
public Builders.NodeBuilder setCoreCount(Integer coreCount)
-
setFreeDiskGB
public Builders.NodeBuilder setFreeDiskGB(Double freeDiskGB)
-
setTotalDiskGB
public Builders.NodeBuilder setTotalDiskGB(Double totalDiskGB)
-
setSysprop
public Builders.NodeBuilder setSysprop(String key, String value)
-
setMetric
public Builders.NodeBuilder setMetric(org.apache.solr.cluster.placement.NodeMetric<?> metric, Object value)
-
getCoreCount
public Integer getCoreCount()
-
getFreeDiskGB
public Double getFreeDiskGB()
-
getTotalDiskGB
public Double getTotalDiskGB()
-
build
public org.apache.solr.cluster.Node build()
-
-