public static class RoutingAllocation.Result
extends java.lang.Object
RoutingAllocation| Constructor and Description |
|---|
Result(boolean changed,
RoutingTable routingTable,
MetaData metaData)
Creates a new
RoutingAllocation.Result |
Result(boolean changed,
RoutingTable routingTable,
MetaData metaData,
RoutingExplanations explanations)
Creates a new
RoutingAllocation.Result |
| Modifier and Type | Method and Description |
|---|---|
boolean |
changed()
determine whether the actual
RoutingTable has been changed |
RoutingExplanations |
explanations()
Get the explanation of this result
|
MetaData |
metaData()
Get the
MetaData referenced by this result |
RoutingTable |
routingTable()
Get the
RoutingTable referenced by this result |
public Result(boolean changed,
RoutingTable routingTable,
MetaData metaData)
RoutingAllocation.Resultchanged - a flag to determine whether the actual RoutingTable has been changedroutingTable - the RoutingTable this Result referencesmetaData - the MetaData this Result referencespublic Result(boolean changed,
RoutingTable routingTable,
MetaData metaData,
RoutingExplanations explanations)
RoutingAllocation.Resultchanged - a flag to determine whether the actual RoutingTable has been changedroutingTable - the RoutingTable this Result referencesmetaData - the MetaData this Result referencesexplanations - Explanation for the reroute actionspublic boolean changed()
RoutingTable has been changedtrue if the RoutingTable has been changed by allocation. Otherwise falsepublic MetaData metaData()
MetaData referenced by this resultMetaDatapublic RoutingTable routingTable()
RoutingTable referenced by this resultRoutingTablepublic RoutingExplanations explanations()