public static class RoutingAllocation.Result extends Object
RoutingAllocation| Constructor and Description |
|---|
RoutingAllocation.Result(boolean changed,
RoutingTable routingTable)
Creates a new
RoutingAllocation.Result |
RoutingAllocation.Result(boolean changed,
RoutingTable routingTable,
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
|
RoutingTable |
routingTable()
Get the
RoutingTable referenced by this result |
public RoutingAllocation.Result(boolean changed,
RoutingTable routingTable)
RoutingAllocation.Resultchanged - a flag to determine whether the actual RoutingTable has been changedroutingTable - the RoutingTable this Result referencespublic RoutingAllocation.Result(boolean changed,
RoutingTable routingTable,
RoutingExplanations explanations)
RoutingAllocation.Resultchanged - a flag to determine whether the actual RoutingTable has been changedroutingTable - the RoutingTable this Result referencesexplanations - Explanation for the reroute actionspublic boolean changed()
RoutingTable has been changedtrue if the RoutingTable has been changed by allocation. Otherwise falsepublic RoutingTable routingTable()
RoutingTable referenced by this resultRoutingTablepublic RoutingExplanations explanations()
Copyright © 2009–2016. All rights reserved.