public interface EndPointSubmitter
Annotation we submit as part of a Span has an EndPoint defined. The EndPoint needs to
be set once for a service.
This is the interface that allows to initialize the endpoint for your service.
| Modifier and Type | Method and Description |
|---|---|
boolean |
endPointSubmitted()
Indicates if EndPoint has already been set.
|
void |
submit(String ip,
int port,
String serviceName)
Sets end point.
|
void submit(String ip, int port, String serviceName)
ip - Ip address, example 10.0.1.5port - Port.serviceName - Service name.boolean endPointSubmitted()
true in case end point has already been submitted, false in case it has not been
submitted yet.Copyright © 2014. All Rights Reserved.