@ParametersAreNonnullByDefault public final class Converters extends Object
Modifier and Type | Field and Description |
---|---|
static org.spf4j.base.avro.Method |
ROOT |
Modifier and Type | Method and Description |
---|---|
static int |
convert(org.spf4j.base.avro.Method method,
StackSamples node,
int parentId,
int id,
Consumer<org.spf4j.base.avro.StackSampleElement> handler) |
static List<org.spf4j.base.avro.StackSampleElement> |
convert(StackSamples stackSamples) |
static org.spf4j.base.avro.StackTraceElement |
convert(StackTraceElement stackTrace) |
static List<org.spf4j.base.avro.StackTraceElement> |
convert(StackTraceElement[] stackTraces) |
static List<org.spf4j.base.avro.LogRecord> |
convert(String origin,
String traceId,
List<Slf4jLogRecord> logRecords) |
static RemoteException |
convert(String source,
org.spf4j.base.avro.Throwable throwable) |
static org.spf4j.base.avro.Throwable |
convert(Throwable throwable) |
static List<org.spf4j.base.avro.Throwable> |
convert(Throwable[] throwables,
Set<Throwable> seen) |
static org.spf4j.base.avro.Throwable |
convert(Throwable throwable,
Set<Throwable> seen) |
public static org.spf4j.base.avro.StackTraceElement convert(StackTraceElement stackTrace)
public static List<org.spf4j.base.avro.StackTraceElement> convert(StackTraceElement[] stackTraces)
public static List<org.spf4j.base.avro.Throwable> convert(Throwable[] throwables, Set<Throwable> seen)
public static org.spf4j.base.avro.Throwable convert(Throwable throwable)
public static org.spf4j.base.avro.Throwable convert(Throwable throwable, Set<Throwable> seen)
public static RemoteException convert(String source, org.spf4j.base.avro.Throwable throwable)
public static List<org.spf4j.base.avro.LogRecord> convert(String origin, String traceId, List<Slf4jLogRecord> logRecords)
public static int convert(org.spf4j.base.avro.Method method, StackSamples node, int parentId, int id, Consumer<org.spf4j.base.avro.StackSampleElement> handler)
@Nonnull public static List<org.spf4j.base.avro.StackSampleElement> convert(@Nullable StackSamples stackSamples)
Copyright © 2021 SPF4J. All rights reserved.