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

public final Class StreamManager

extends Object
Class Inheritance
Imports
java.io.IOException, .InputStream, java.time.Instant, java.util.Date, .HashMap, .Map, .Timer, java.util.concurrent.TimeUnit, jdk.jfr.Recording

Field Summary

Modifier and TypeField and Description
public static final int
private final Map<Long, EventByteStream>
public static final long
private Timer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized EventByteStream
create(InputStream is, int blockSize)

public synchronized EventByteStream
createOngoing(Recording recording, int blockSize, Instant startTime, Instant endTime)

public synchronized void
public synchronized EventByteStream
getStream(long streamIdentifer)

public synchronized void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_BLOCK_SIZEback to summary
public static final int DEFAULT_BLOCK_SIZE
streamsback to summary
private final Map<Long, EventByteStream> streams
TIME_OUTback to summary
public static final long TIME_OUT
timerback to summary
private Timer timer

Constructor Detail

StreamManagerback to summary
public StreamManager()

Method Detail

createback to summary
public synchronized EventByteStream create(InputStream is, int blockSize)
createOngoingback to summary
public synchronized EventByteStream createOngoing(Recording recording, int blockSize, Instant startTime, Instant endTime)
destroyback to summary
public synchronized void destroy(EventByteStream stream)
getStreamback to summary
public synchronized EventByteStream getStream(long streamIdentifer)
scheduleAbortback to summary
public synchronized void scheduleAbort(EventByteStream s, long when)