mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 08:16:15 +10:00
fix recordnextAsyncId() > recordNextAsyncId()
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ public interface RecordableTrace {
|
||||
|
||||
void recordAsyncId(int asyncId);
|
||||
|
||||
void recordnextAsyncId(int asyncId);
|
||||
void recordNextAsyncId(int asyncId);
|
||||
|
||||
boolean isAsync();
|
||||
|
||||
|
||||
@@ -260,7 +260,7 @@ public class MockTrace implements Trace {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void recordnextAsyncId(int asyncId) {
|
||||
public void recordNextAsyncId(int asyncId) {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ public class DefaultClientExchangeHandlerImplConstructorInterceptor implements S
|
||||
}
|
||||
|
||||
final AsyncTraceId asyncTraceId = trace.getAsyncTraceId();
|
||||
trace.recordnextAsyncId(asyncTraceId.getAsyncId());
|
||||
trace.recordNextAsyncId(asyncTraceId.getAsyncId());
|
||||
asyncTraceIdAccessor.set(args[4], asyncTraceId);
|
||||
logger.debug("Set asyncTraceId metadata {}", asyncTraceId);
|
||||
} catch (Throwable t) {
|
||||
|
||||
@@ -191,8 +191,8 @@ public class AsyncTrace implements Trace {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void recordnextAsyncId(int asyncId) {
|
||||
trace.recordnextAsyncId(asyncId);
|
||||
public void recordNextAsyncId(int asyncId) {
|
||||
trace.recordNextAsyncId(asyncId);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -597,7 +597,7 @@ public final class DefaultTrace implements Trace {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void recordnextAsyncId(int asyncId) {
|
||||
public void recordNextAsyncId(int asyncId) {
|
||||
StackFrame currentStackFrame = this.currentStackFrame;
|
||||
if(currentStackFrame instanceof SpanEventStackFrame) {
|
||||
((SpanEventStackFrame) currentStackFrame).setNextAsyncId(asyncId);
|
||||
|
||||
@@ -246,7 +246,7 @@ public class DisableTrace implements Trace {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void recordnextAsyncId(int asyncId) {
|
||||
public void recordNextAsyncId(int asyncId) {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -411,7 +411,7 @@ public class MetricTrace implements Trace {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void recordnextAsyncId(int asyncId) {
|
||||
public void recordNextAsyncId(int asyncId) {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user