APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.jfr.internal

public final Class Options

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.file.Files, .Path, jdk.internal.misc.Unsafe

Options that control Flight Recorder. Can be set using JFR.configure

Field Summary

Modifier and TypeField and Description
private static final Path
private static final long
private static final long
private static final long
private static final long
private static final boolean
private static final int
private static long
private static long
private static long
private static long
private static long
private static final long
private static boolean
private static int
private static long
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
public static synchronized Path
public static synchronized long
public static synchronized long
public static synchronized long
public static synchronized long
public static synchronized boolean
public static synchronized int
public static synchronized long
pack-priv static synchronized long
private static synchronized void
public static synchronized void
public static synchronized void
setGlobalBufferCount(long globalBufCount)

public static synchronized void
setGlobalBufferSize(long globalBufsize)

public static synchronized void
setMaxChunkSize(long max)

public static synchronized void
setMemorySize(long memSize)

public static synchronized void
setPreserveRepository(boolean preserve)

public static synchronized void
setStackDepth(Integer stackTraceDepth)

public static synchronized void
setThreadBufferSize(long threadBufSize)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_DUMP_PATHback to summary
private static final Path DEFAULT_DUMP_PATH
DEFAULT_GLOBAL_BUFFER_COUNTback to summary
private static final long DEFAULT_GLOBAL_BUFFER_COUNT
DEFAULT_GLOBAL_BUFFER_SIZEback to summary
private static final long DEFAULT_GLOBAL_BUFFER_SIZE
DEFAULT_MAX_CHUNK_SIZEback to summary
private static final long DEFAULT_MAX_CHUNK_SIZE
DEFAULT_MEMORY_SIZEback to summary
private static final long DEFAULT_MEMORY_SIZE
DEFAULT_PRESERVE_REPOSITORYback to summary
private static final boolean DEFAULT_PRESERVE_REPOSITORY
DEFAULT_STACK_DEPTHback to summary
private static final int DEFAULT_STACK_DEPTH
DEFAULT_THREAD_BUFFER_SIZEback to summary
private static long DEFAULT_THREAD_BUFFER_SIZE
globalBufferCountback to summary
private static long globalBufferCount
globalBufferSizeback to summary
private static long globalBufferSize
maxChunkSizeback to summary
private static long maxChunkSize
memorySizeback to summary
private static long memorySize
MIN_MAX_CHUNKSIZEback to summary
private static final long MIN_MAX_CHUNKSIZE
preserveRepositoryback to summary
private static boolean preserveRepository
stackDepthback to summary
private static int stackDepth
threadBufferSizeback to summary
private static long threadBufferSize
WAIT_INTERVALback to summary
private static final long WAIT_INTERVAL

Constructor Detail

Optionsback to summary
public Options()

Method Detail

ensureInitializedback to summary
pack-priv static void ensureInitialized()
getDumpPathback to summary
public static synchronized Path getDumpPath()
getGlobalBufferCountback to summary
public static synchronized long getGlobalBufferCount()
getGlobalBufferSizeback to summary
public static synchronized long getGlobalBufferSize()
getMaxChunkSizeback to summary
public static synchronized long getMaxChunkSize()
getMemorySizeback to summary
public static synchronized long getMemorySize()
getPreserveRepositoryback to summary
public static synchronized boolean getPreserveRepository()
getStackDepthback to summary
public static synchronized int getStackDepth()
getThreadBufferSizeback to summary
public static synchronized long getThreadBufferSize()
getWaitIntervalback to summary
pack-priv static synchronized long getWaitInterval()
resetback to summary
private static synchronized void reset()
setDumpPathback to summary
public static synchronized void setDumpPath(Path path) throws IOException
setGlobalBufferCountback to summary
public static synchronized void setGlobalBufferCount(long globalBufCount)
setGlobalBufferSizeback to summary
public static synchronized void setGlobalBufferSize(long globalBufsize)
setMaxChunkSizeback to summary
public static synchronized void setMaxChunkSize(long max)
setMemorySizeback to summary
public static synchronized void setMemorySize(long memSize)
setPreserveRepositoryback to summary
public static synchronized void setPreserveRepository(boolean preserve)
setStackDepthback to summary
public static synchronized void setStackDepth(Integer stackTraceDepth)
setThreadBufferSizeback to summary
public static synchronized void setThreadBufferSize(long threadBufSize)