public class PerformanceTrace extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PerformanceTrace.Measurement |
static class |
PerformanceTrace.Trace |
Constructor and Description |
---|
PerformanceTrace() |
Modifier and Type | Method and Description |
---|---|
static void |
clear(Session s)
Clear performance trace cache.
|
static void |
disable(Session s) |
static void |
enable(Session s) |
static Collection<PerformanceTrace.Trace> |
get(Session s)
Access available performance traces.
|
static void |
log(Session s)
Log all available traces directly through slf4j.
|
static void |
log(Session s,
boolean clear) |
static Collection<PerformanceTrace.Trace> |
pop(Session s)
Access available performance traces, and clear the cache.
|
public static void enable(Session s)
public static void disable(Session s)
public static Collection<PerformanceTrace.Trace> get(Session s)
public static Collection<PerformanceTrace.Trace> pop(Session s)
public static void clear(Session s)
public static void log(Session s)
public static void log(Session s, boolean clear)
Copyright © 2021. All rights reserved.