APIdia Launch Partner
Top Fields Constructors
jdk.jfr.events

public final Class FileReadEvent

extends MirrorEvent
Class Inheritance
Annotations
@Name:jdk.FileRead
@Label:File Read
@Category:Java Application
@Description:Reading data from a file
@StackFilter:FileChannel, DataInputStream, FileInputStream, InputStream, RandomAccessFile, ChannelInputStream, FileChannelImpl
@Throttle
Imports
jdk.jfr.Category, .Description, .Label, .DataAmount, .Name, .Throttle, jdk.jfr.internal.Type, .MirrorEvent

Field Summary

Modifier and TypeField and Description
public long
public boolean
public String

Constructor Summary

AccessConstructor and Description
public

Field Detail

bytesReadback to summary
public long bytesRead
Annotations
@Label:Bytes Read
@Description:Number of bytes read from the file (possibly 0)
@DataAmount
endOfFileback to summary
public boolean endOfFile
Annotations
@Label:End of File
@Description:If end of file was reached
pathback to summary
public String path
Annotations
@Label:Path
@Description:Full path of the file, or N/A if a file descriptor was used to create the stream, for example System.in

Constructor Detail

FileReadEventback to summary
public FileReadEvent()