Package com.hsbc.cranker.mucranker
Interface ConnectorInstance
-
public interface ConnectorInstanceInformation about a connector instance that is connected to this router.Note that one instance may have multiple connections.
Access by iterating the services returned by
CrankerRouter.collectInfo()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ConnectorConnection>connections()StringconnectorInstanceID()booleandarkMode()Stringip()Map<String,Object>toMap()
-
-
-
Method Detail
-
ip
String ip()
- Returns:
- The IP address of the instance.
-
connectorInstanceID
String connectorInstanceID()
- Returns:
- The unique ID of the connector.
-
connections
List<ConnectorConnection> connections()
- Returns:
- The current idle connections that this connector has registered to the router.
-
darkMode
boolean darkMode()
- Returns:
- Returns
trueif this connector is on a dark mode host; otherwisefalse.
-
-