public class SyntheticAttributeExtension extends java.lang.Object implements IParserExtension
Modifier and Type | Class and Description |
---|---|
private static class |
SyntheticAttributeExtension.ModuleExportSink |
Modifier and Type | Field and Description |
---|---|
private static IAttribute<IMCThread> |
ALLOC_STATISTICS_THREAD |
private static IAttribute<IMCStackTrace> |
EXECUTION_SAMPLES_STACKTRACE |
private static IAttribute<IMCThread> |
EXECUTION_SAMPLES_THREAD |
(package private) static IAttribute<LabeledIdentifier> |
REC_SETTING_EVENT_ID_ATTRIBUTE |
Constructor and Description |
---|
SyntheticAttributeExtension() |
Modifier and Type | Method and Description |
---|---|
IEventSinkFactory |
getEventSinkFactory(IEventSinkFactory sf)
Get a new event sink factory for use during the reading of one Flight Recording.
|
java.lang.String |
getValueInterpretation(java.lang.String eventTypeId,
java.lang.String fieldId)
Override the value interpretation.
|
private static final IAttribute<IMCStackTrace> EXECUTION_SAMPLES_STACKTRACE
private static final IAttribute<IMCThread> EXECUTION_SAMPLES_THREAD
private static final IAttribute<IMCThread> ALLOC_STATISTICS_THREAD
static final IAttribute<LabeledIdentifier> REC_SETTING_EVENT_ID_ATTRIBUTE
public IEventSinkFactory getEventSinkFactory(IEventSinkFactory sf)
IParserExtension
Note that it is the implementor's responsibility to make sure that the subfactory is used by
the event sink factory. If the
IEventSinkFactory.create
call is not chained to the subfactory, then events will be lost.
getEventSinkFactory
in interface IParserExtension
sf
- Subfactory to nest. Events created by the returned factory will normally be passed
on to sinks created by the nested subfactory.public java.lang.String getValueInterpretation(java.lang.String eventTypeId, java.lang.String fieldId)
IParserExtension
null
should be returned.getValueInterpretation
in interface IParserExtension
eventTypeId
- event type ID to get interpretation forfieldId
- field ID within the event type to get interpretation fornull
to use the default
interpretation