Class AgentBasedSyncAbstractDetector<T>

    • Field Detail

      • HAS_MULTIPLE_AGENT_CONFIGS

        public static final java.lang.String HAS_MULTIPLE_AGENT_CONFIGS
        See Also:
        Constant Field Values
    • Constructor Detail

      • AgentBasedSyncAbstractDetector

        public AgentBasedSyncAbstractDetector​(java.lang.String serviceName,
                                              int port,
                                              int defaultTimeout,
                                              int defaultRetries)
      • AgentBasedSyncAbstractDetector

        protected AgentBasedSyncAbstractDetector​(java.lang.String serviceName,
                                                 int port)
    • Method Detail

      • getAgentConfig

        public abstract T getAgentConfig​(DetectRequest request)
      • isServiceDetected

        public abstract boolean isServiceDetected​(java.net.InetAddress address,
                                                  T agentConfig)
      • getListOfAgentConfigs

        public java.util.List<T> getListOfAgentConfigs​(DetectRequest request)
        Override this if detector can support multiple agent configs.
      • isServiceDetected

        public boolean isServiceDetected​(java.net.InetAddress address,
                                         java.util.List<T> agentConfigList)
      • hasMultipleAgentConfigs

        protected static boolean hasMultipleAgentConfigs​(java.util.Map<java.lang.String,​java.lang.String> runTimeAttributes)