Top Fields Constructors Methods
jdk.management.jfr

pack-priv final Class FileDump

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.channels.FileChannel, java.nio.file.Path, .StandardOpenOption, java.util.ArrayDeque, .Deque, jdk.management.jfr.DiskRepository.DiskChunk

Field Summary

Modifier and TypeField and Description
private final Deque<DiskRepository.DiskChunk>
private boolean
private final long

Constructor Summary

AccessConstructor and Description
pack-priv
FileDump(long stopTimeMillis)

Method Summary

Modifier and TypeMethod and Description
public synchronized void
public synchronized void
public synchronized boolean
private DiskRepository.DiskChunk
public synchronized void
public void
write(Path path)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

chunksback to summary
private final Deque<DiskRepository.DiskChunk> chunks
completeback to summary
private boolean complete
stopTimeMillisback to summary
private final long stopTimeMillis

Constructor Detail

FileDumpback to summary
pack-priv FileDump(long stopTimeMillis)

Method Detail

addback to summary
public synchronized void add(DiskRepository.DiskChunk dc)
closeback to summary
public synchronized void close()
isCompleteback to summary
public synchronized boolean isComplete()
oldestChunkback to summary
private DiskRepository.DiskChunk oldestChunk() throws InterruptedException
setCompleteback to summary
public synchronized void setComplete()
writeback to summary
public void write(Path path) throws IOException, InterruptedException