Class ConnectorMonitorTypeComparator
java.lang.Object
org.sentrysoftware.metricshub.engine.common.ConnectorMonitorTypeComparator
- All Implemented Interfaces:
Comparator<Connector>
Comparator for sorting
Connector instances based on the monitor type.
This comparator prioritizes connectors with monitor types HOST and ENCLOSURE. Connectors with these monitor types will be ordered first, and then the remaining connectors will be sorted based on their compiled filenames.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ConnectorMonitorTypeComparator
public ConnectorMonitorTypeComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Connector>
-