304305306307308309310311312
@Override public void onReloadRequired(Map<String, ServerState> states) { ReloadState reloadState = Console.MODULES.getReloadState(); reloadState.updateFrom(states); reloadState.propagateChanges(); } }
300301302303304305306307308
277278279280281282283284285
282283284285286287288289
2627282930313233343536
ReloadState reloadState = Console.MODULES.getReloadState(); parseServerState(response, reloadState); reloadState.propagateChanges(); } private static boolean parseServerState(ModelNode response, ReloadState reloadState) { boolean staleModel = false;
2425262728293031323334
public void process(ModelNode response) { ReloadState reloadState = Console.MODULES.getReloadState(); boolean staleModel = parseServerState(response, reloadState); reloadState.propagateChanges(); if(!staleModel) reloadState.reset(); }
326327328329330331332333334
324325326327328329330331332
321322323324325326327328329