@Component(value="cuba_ScreenProfiler") public class ScreenProfilerImpl extends java.lang.Object implements ScreenProfiler
Modifier and Type | Field and Description |
---|---|
protected Metadata |
metadata |
static java.lang.String |
NAME |
protected ScreenProfilerService |
screenProfilerService |
protected UserSessionSource |
userSessionSource |
Constructor and Description |
---|
ScreenProfilerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
flush(com.haulmont.cuba.web.widgets.client.profiler.ScreenProfilerClientEvent[] clientEvents) |
java.lang.String |
getCurrentProfilerMarker(com.vaadin.ui.UI ui) |
void |
initProfilerMarkerForWindow(java.lang.String screenId) |
void |
setCurrentProfilerMarker(com.vaadin.ui.UI ui,
java.lang.String profilerMarker) |
protected ScreenProfilerEvent |
transformEvent(com.haulmont.cuba.web.widgets.client.profiler.ScreenProfilerClientEvent clientEvent) |
public static final java.lang.String NAME
@Inject protected ScreenProfilerService screenProfilerService
@Inject protected UserSessionSource userSessionSource
@Inject protected Metadata metadata
public void initProfilerMarkerForWindow(java.lang.String screenId)
initProfilerMarkerForWindow
in interface ScreenProfiler
@Nullable public java.lang.String getCurrentProfilerMarker(com.vaadin.ui.UI ui)
getCurrentProfilerMarker
in interface ScreenProfiler
public void setCurrentProfilerMarker(com.vaadin.ui.UI ui, @Nullable java.lang.String profilerMarker)
setCurrentProfilerMarker
in interface ScreenProfiler
public void flush(com.haulmont.cuba.web.widgets.client.profiler.ScreenProfilerClientEvent[] clientEvents)
flush
in interface ScreenProfiler
protected ScreenProfilerEvent transformEvent(com.haulmont.cuba.web.widgets.client.profiler.ScreenProfilerClientEvent clientEvent)