T
- detector typepublic interface ServiceDetectorFactory<T extends ServiceDetector>
Modifier and Type | Method and Description |
---|---|
void |
afterDetect(DetectRequest request,
DetectResults results,
Integer nodeId) |
DetectRequest |
buildRequest(String location,
InetAddress address,
Integer port,
Map<String,String> attributes)
Builds the request that will be used to invoke the detector.
|
T |
createDetector()
Instantiates a new detector.
|
Class<T> |
getDetectorClass()
Used by the detector registry to track and index the detector types.
|
Class<T> getDetectorClass()
T createDetector()
DetectRequest buildRequest(String location, InetAddress address, Integer port, Map<String,String> attributes)
location
- name of the location in which the detector will be invokedaddress
- address of the agent against which the detector will be invokedport
- port of the agent against which the detector will be invokedDetectRequest
void afterDetect(DetectRequest request, DetectResults results, Integer nodeId)
request
- results
- nodeId
- Copyright © 2019. All rights reserved.