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.InstantEvent
commit
in interface EventProvider.InstantEvent
public boolean shouldWrite()
EventProvider.InstantEvent
EventProvider.InstantEvent.commit()
. This in turn depends on whether the event is
enabled and possible other factors.shouldWrite
in interface EventProvider.InstantEvent
EventProvider.InstantEvent.commit()
.public void begin()
EventProvider.TimedEvent
begin
in interface EventProvider.TimedEvent
public void end()
EventProvider.TimedEvent
end
in interface EventProvider.TimedEvent
public void setMethod(String method)
setMethod
in interface EventProvider.CompilationEvent
public void setCompileId(int compileId)
setCompileId
in interface EventProvider.CompilationEvent
public void setCompileLevel(int compileLevel)
setCompileLevel
in interface EventProvider.CompilationEvent
public void setSucceeded(boolean succeeded)
setSucceeded
in interface EventProvider.CompilationEvent
public void setIsOsr(boolean isOsr)
setIsOsr
in interface EventProvider.CompilationEvent
public void setCodeSize(int codeSize)
setCodeSize
in interface EventProvider.CompilationEvent
public void setInlinedBytes(int inlinedBytes)
setInlinedBytes
in interface EventProvider.CompilationEvent