/** * Builder. * * @param ip ipv4 host address as int. Ex for the ip 1.2.3.4, it would be (1 << 24) | (2 << 16) | (3 << 8) | 4 * @param port Port for service * @param serviceName Name of the local service being traced. Should be lowercase and not <code>null</code> or empty. */ public Builder(int ip, int port, String serviceName) { this(Endpoint.builder().serviceName(serviceName).ipv4(ip).port(port).build()); }
public Log_result getResult(I iface, Log_args args) throws org.apache.thrift.TException { Log_result result = new Log_result(); result.success = iface.Log(args.messages); return result; } }
public void send_Log(List<LogEntry> messages) throws org.apache.thrift.TException { Log_args args = new Log_args(); args.setMessages(messages); sendBase("Log", args); }
/** * Performs a deep copy on <i>other</i>. */ public Annotation(Annotation other) { __isset_bitfield = other.__isset_bitfield; this.timestamp = other.timestamp; if (other.isSetValue()) { this.value = other.value; } if (other.isSetHost()) { this.host = new Endpoint(other.host); } }
@Override void address(Span span, String key, Endpoint endpoint) { BinaryAnnotation address = BinaryAnnotation.address(key, endpoint); synchronized (span) { span.addToBinary_annotations(address); } }
public boolean equals(Log_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; }
@Override void name(Span span, String name) { synchronized (span) { span.setName(name); } }
public boolean equals(Log_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; }
public void send_Log(List<LogEntry> messages) throws org.apache.thrift.TException { Log_args args = new Log_args(); args.setMessages(messages); sendBase("Log", args); }
public Log_result getResult(I iface, Log_args args) throws org.apache.thrift.TException { Log_result result = new Log_result(); result.success = iface.Log(args.messages); return result; } }
/** * Constructor * * @param ip Int representation of ipv4 address. * @param port port on which current process is listening. * @param serviceName Name of the local service being traced. Should be lowercase and not <code>null</code> or empty. */ public ThreadLocalServerClientAndLocalSpanState(int ip, int port, String serviceName) { this(Endpoint.builder().ipv4(ip).port(port).serviceName(serviceName).build()); }
/** * Performs a deep copy on <i>other</i>. */ public Annotation(Annotation other) { __isset_bitfield = other.__isset_bitfield; this.timestamp = other.timestamp; if (other.isSetValue()) { this.value = other.value; } if (other.isSetHost()) { this.host = new Endpoint(other.host); } }
public void send_Log(List<LogEntry> messages) throws org.apache.thrift.TException { Log_args args = new Log_args(); args.setMessages(messages); sendBase("Log", args); }
public boolean equals(Log_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; }
public Log_result getResult(I iface, Log_args args) throws org.apache.thrift.TException { Log_result result = new Log_result(); result.success = iface.Log(args.messages); return result; } }
/** * Performs a deep copy on <i>other</i>. */ public Annotation(Annotation other) { __isset_bitfield = other.__isset_bitfield; this.timestamp = other.timestamp; if (other.isSetValue()) { this.value = other.value; } if (other.isSetHost()) { this.host = new Endpoint(other.host); } this.duration = other.duration; }
public void send_Log(List<LogEntry> messages) throws org.apache.thrift.TException { Log_args args = new Log_args(); args.setMessages(messages); sendBase("Log", args); }
public boolean equals(Log_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; }
public Log_result getResult(I iface, Log_args args) throws org.apache.thrift.TException { Log_result result = new Log_result(); result.success = iface.Log(args.messages); return result; } }