public static class EmptyEventProvider.EmptyCompilationEvent extends Object implements EventProvider.CompilationEvent
| Constructor and Description |
|---|
EmptyCompilationEvent() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Starts the timing for this event.
|
void |
commit()
Commits the event.
|
void |
end()
Ends the timing period for this event.
|
void |
setCodeSize(int codeSize) |
void |
setCompileId(int compileId) |
void |
setCompileLevel(int compileLevel) |
void |
setInlinedBytes(int inlinedBytes) |
void |
setIsOsr(boolean isOsr) |
void |
setMethod(String method) |
void |
setSucceeded(boolean succeeded) |
boolean |
shouldWrite()
Determines if this particular event instance would be committed to the data stream right
now if application called
EventProvider.InstantEvent.commit(). |
public EmptyCompilationEvent()
public void commit()
EventProvider.InstantEventcommit in interface EventProvider.InstantEventpublic boolean shouldWrite()
EventProvider.InstantEventEventProvider.InstantEvent.commit(). This in turn depends on whether the event is
enabled and possible other factors.shouldWrite in interface EventProvider.InstantEventEventProvider.InstantEvent.commit().public void begin()
EventProvider.TimedEventbegin in interface EventProvider.TimedEventpublic void end()
EventProvider.TimedEventend in interface EventProvider.TimedEventpublic void setMethod(String method)
setMethod in interface EventProvider.CompilationEventpublic void setCompileId(int compileId)
setCompileId in interface EventProvider.CompilationEventpublic void setCompileLevel(int compileLevel)
setCompileLevel in interface EventProvider.CompilationEventpublic void setSucceeded(boolean succeeded)
setSucceeded in interface EventProvider.CompilationEventpublic void setIsOsr(boolean isOsr)
setIsOsr in interface EventProvider.CompilationEventpublic void setCodeSize(int codeSize)
setCodeSize in interface EventProvider.CompilationEventpublic void setInlinedBytes(int inlinedBytes)
setInlinedBytes in interface EventProvider.CompilationEvent