/** * Index routing table changed. * * @param index the index * @return true, if successful */ public boolean indexRoutingTableChanged(String index) { if (!state.routingTable().hasIndex(index) && !previousState.routingTable().hasIndex(index)) { return false; } if (state.routingTable().hasIndex(index) && previousState.routingTable().hasIndex(index)) { return state.routingTable().index(index) != previousState.routingTable().index(index); } return true; }
/** * Routing table changed. * * @return true, if successful */ public boolean routingTableChanged() { return state.routingTable() != previousState.routingTable(); }