public class FlightRecorder extends java.util.concurrent.atomic.AtomicReference<FlightRecorderStatus>
Constructor and Description |
---|
FlightRecorder(java.nio.channels.FileChannel fileChannel) |
Modifier and Type | Method and Description |
---|---|
static V |
accumulateAndGet(V x$1,
java.util.function.BinaryOperator<V> x$2) |
static int |
AlertLogSize() |
static int |
AlertRecordSize() |
static int |
AlertSectionOffset() |
static int |
AlertSectionSize() |
static int |
AlertWindow() |
static int |
Alignment() |
void |
close() |
static boolean |
compareAndSet(V x$1,
V x$2) |
EventSink |
createEventSink() |
static java.nio.file.Path |
createFlightRecorderFile(java.lang.String destination,
java.nio.file.FileSystem fs) |
java.nio.channels.FileChannel |
fileChannel() |
static V |
get() |
static V |
getAndAccumulate(V x$1,
java.util.function.BinaryOperator<V> x$2) |
static V |
getAndSet(V x$1) |
static V |
getAndUpdate(java.util.function.UnaryOperator<V> x$1) |
static int |
GlobalSectionSize() |
static int |
HiFreqBatchSize() |
static int |
HiFreqEntryCountFieldOffset() |
static int |
HiFreqLogSize() |
static int |
HiFreqRecordSize() |
static int |
HiFreqSectionOffset() |
static int |
HiFreqSectionSize() |
static int |
HiFreqWindow() |
static void |
lazySet(V x$1) |
static int |
LoFreqLogSize() |
static int |
LoFreqRecordSize() |
static int |
LoFreqSectionOffset() |
static int |
LoFreqSectionSize() |
static int |
LoFreqWindow() |
static int |
LogHeaderSize() |
static int |
MagicString() |
static java.nio.channels.FileChannel |
prepareFileForFlightRecorder(java.nio.file.Path path) |
static void |
set(V x$1) |
void |
snapshot() |
static int |
SnapshotCount() |
static int |
SnapshotMask() |
static int |
StartTimeStampOffset() |
static java.lang.String |
toString() |
static int |
TotalSize() |
static V |
updateAndGet(java.util.function.UnaryOperator<V> x$1) |
static boolean |
weakCompareAndSet(V x$1,
V x$2) |
public static java.nio.file.Path createFlightRecorderFile(java.lang.String destination, java.nio.file.FileSystem fs)
destination
- (undocumented)fs
- (undocumented)
destination
:
1. Empty: a file will be generated in the temporary directory of the OS
2. A relative or absolute path ending with ".afr": this file will be used
3. A relative or absolute path: this directory will be used, the file will get a random file namepublic static java.nio.channels.FileChannel prepareFileForFlightRecorder(java.nio.file.Path path)
public static int Alignment()
public static int MagicString()
public static int GlobalSectionSize()
public static int StartTimeStampOffset()
public static int LogHeaderSize()
public static int SnapshotCount()
public static int SnapshotMask()
public static int AlertRecordSize()
public static int LoFreqRecordSize()
public static int HiFreqBatchSize()
public static int HiFreqRecordSize()
public static int AlertWindow()
public static int LoFreqWindow()
public static int HiFreqWindow()
public static int AlertLogSize()
public static int LoFreqLogSize()
public static int HiFreqLogSize()
public static int AlertSectionSize()
public static int LoFreqSectionSize()
public static int HiFreqSectionSize()
public static int AlertSectionOffset()
public static int LoFreqSectionOffset()
public static int HiFreqSectionOffset()
public static int TotalSize()
public static int HiFreqEntryCountFieldOffset()
public static final V get()
public static final void set(V x$1)
public static final void lazySet(V x$1)
public static final boolean compareAndSet(V x$1, V x$2)
public static final boolean weakCompareAndSet(V x$1, V x$2)
public static final V getAndSet(V x$1)
public static final V getAndUpdate(java.util.function.UnaryOperator<V> x$1)
public static final V updateAndGet(java.util.function.UnaryOperator<V> x$1)
public static final V getAndAccumulate(V x$1, java.util.function.BinaryOperator<V> x$2)
public static final V accumulateAndGet(V x$1, java.util.function.BinaryOperator<V> x$2)
public static java.lang.String toString()
public java.nio.channels.FileChannel fileChannel()
public void snapshot()
public void close()
public EventSink createEventSink()