public class INJECT_VIEW
extends Protocol
Simple protocol to inject an arbitrary view on one or more cluster nodes.
INJECT_VIEW exposes a managed operation (injectView) capable of injecting a view by parsing the view state from a string.
The string format is A=A/B/C;B=B/C;C=C (where A,B,C are node names), this would inject view [A,B,C] with A as leader in node A,
view [B,C] with B as leader in node B and view [C] in node C.
In order to leverage the injection on multiple nodes at once use a tool like probe.sh
(https://github.com/belaban/JGroups/blob/master/tests/other/org/jgroups/tests/Probe.java)
- Since:
- 4.0.10
- Author:
- Andrea Tarocchi, Ugo Landini
- See Also:
GMS