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

public abstract Class JdkJfrConsumer

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.file.Path, java.util.Comparator, .List, java.util.function.Predicate, jdk.jfr.Configuration, .EventType, jdk.jfr.consumer.MetadataEvent, .RecordedClass, .RecordedClassLoader, .RecordedEvent, .RecordedFrame, .RecordedMethod, .RecordedObject, .RecordedStackTrace, .RecordedThread, .RecordedThreadGroup, .RecordingFile, jdk.jfr.internal.Type, jdk.jfr.internal.consumer.filter.ChunkWriter.RemovedEvents

Field Summary

Modifier and TypeField and Description
private static JdkJfrConsumer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract Comparator<? super RecordedEvent>
public abstract Object[]
private static void
public abstract Object
public static JdkJfrConsumer
public abstract boolean
public abstract MetadataEvent
newMetadataEvent(List<EventType> previous, List<EventType> current, List<Configuration> configuration)

public abstract RecordedClass
newRecordedClass(ObjectContext objectContext, long id, Object[] values)

public abstract RecordedClassLoader
newRecordedClassLoader(ObjectContext objectContext, long id, Object[] values)

public abstract RecordedEvent
newRecordedEvent(ObjectContext objectContext, Object[] objects, long l, long m)

public abstract RecordedFrame
newRecordedFrame(ObjectContext objectContext, Object[] values)

public abstract RecordedMethod
newRecordedMethod(ObjectContext objectContext, Object[] values)

public abstract RecordedStackTrace
newRecordedStackTrace(ObjectContext objectContext, Object[] values)

public abstract RecordedThread
newRecordedThread(ObjectContext objectContext, long id, Object[] values)

public abstract RecordedThreadGroup
newRecordedThreadGroup(ObjectContext objectContext, Object[] values)

public abstract List<Type>
public static void
public abstract void
setEndTicks(RecordedEvent event, long endTicks)

public abstract void
setStartTicks(RecordedEvent event, long startTicks)

public abstract List<ChunkWriter.RemovedEvents>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
private static JdkJfrConsumer instance

Constructor Detail

JdkJfrConsumerback to summary
public JdkJfrConsumer()

Method Detail

eventComparatorback to summary
public abstract Comparator<? super RecordedEvent> eventComparator()
eventValuesback to summary
public abstract Object[] eventValues(RecordedEvent event)
forceInitializationback to summary
private static void forceInitialization()
getOffsetDataTimeback to summary
public abstract Object getOffsetDataTime(RecordedObject event, String name)
instanceback to summary
public static JdkJfrConsumer instance()
isLastEventInChunkback to summary
public abstract boolean isLastEventInChunk(RecordingFile file)
newMetadataEventback to summary
public abstract MetadataEvent newMetadataEvent(List<EventType> previous, List<EventType> current, List<Configuration> configuration)
newRecordedClassback to summary
public abstract RecordedClass newRecordedClass(ObjectContext objectContext, long id, Object[] values)
newRecordedClassLoaderback to summary
public abstract RecordedClassLoader newRecordedClassLoader(ObjectContext objectContext, long id, Object[] values)
newRecordedEventback to summary
public abstract RecordedEvent newRecordedEvent(ObjectContext objectContext, Object[] objects, long l, long m)
newRecordedFrameback to summary
public abstract RecordedFrame newRecordedFrame(ObjectContext objectContext, Object[] values)
newRecordedMethodback to summary
public abstract RecordedMethod newRecordedMethod(ObjectContext objectContext, Object[] values)
newRecordedStackTraceback to summary
public abstract RecordedStackTrace newRecordedStackTrace(ObjectContext objectContext, Object[] values)
newRecordedThreadback to summary
public abstract RecordedThread newRecordedThread(ObjectContext objectContext, long id, Object[] values)
newRecordedThreadGroupback to summary
public abstract RecordedThreadGroup newRecordedThreadGroup(ObjectContext objectContext, Object[] values)
readTypesback to summary
public abstract List<Type> readTypes(RecordingFile file) throws IOException
setAccessback to summary
public static void setAccess(JdkJfrConsumer access)
setEndTicksback to summary
public abstract void setEndTicks(RecordedEvent event, long endTicks)
setStartTicksback to summary
public abstract void setStartTicks(RecordedEvent event, long startTicks)
writeback to summary
public abstract List<ChunkWriter.RemovedEvents> write(RecordingFile file, Path output, Predicate<RecordedEvent> filter) throws IOException