Class ClusterNodeVerifier
java.lang.Object
org.apache.activemq.artemis.cli.commands.check.ClusterNodeVerifier
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionClusterNodeVerifier(String uri, String user, String password) ClusterNodeVerifier(String uri, String user, String password, long variance) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()compareTopology(Map<String, ClusterNodeVerifier.TopologyItem> mainTopology, Map<String, ClusterNodeVerifier.TopologyItem> compareTopology) protected longprotected org.apache.activemq.artemis.json.JsonArrayprotected longprotected org.apache.activemq.artemis.json.JsonArrayfetchTopology(String uri) protected Long[]fetchTopologyTime(Map<String, ClusterNodeVerifier.TopologyItem> topologyItemMap) protected Stringopen()booleanverify(ActionContext context) protected voidverifyTime(ActionContext context, Map<String, ClusterNodeVerifier.TopologyItem> mainTopology, AtomicBoolean verificationResult, boolean supportTime)
-
Constructor Details
-
ClusterNodeVerifier
-
ClusterNodeVerifier
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
open
- Throws:
Exception
-
verify
- Throws:
Exception
-
verifyTime
protected void verifyTime(ActionContext context, Map<String, ClusterNodeVerifier.TopologyItem> mainTopology, AtomicBoolean verificationResult, boolean supportTime) -
fetchTopologyTime
-
compareTopology
public String compareTopology(Map<String, ClusterNodeVerifier.TopologyItem> mainTopology, Map<String, ClusterNodeVerifier.TopologyItem> compareTopology) -
getNodeID
-
fetchMainTime
-
fetchTime
-
fetchMainTopology
-
fetchTopology
-