public class ScreenProfilerServiceProxy extends java.lang.Object implements ScreenProfilerService
Modifier and Type | Field and Description |
---|---|
protected TestContainer |
container |
NAME
Constructor and Description |
---|
ScreenProfilerServiceProxy(TestContainer container) |
Modifier and Type | Method and Description |
---|---|
void |
clearEvents() |
void |
disableProfiling() |
void |
enableProfiling(java.util.Set<java.util.UUID> userIds,
long timeThreshold) |
java.util.List<ScreenProfilerEvent> |
getProfilerEvents() |
long |
getTimeThreshold() |
java.util.Set<java.util.UUID> |
getUserIds() |
boolean |
isProfilingEnabled() |
boolean |
isProfilingEnabledForUser(java.util.UUID userId) |
void |
saveEvents(java.util.List<ScreenProfilerEvent> events) |
protected TestContainer container
public ScreenProfilerServiceProxy(TestContainer container)
public boolean isProfilingEnabled()
isProfilingEnabled
in interface ScreenProfilerService
public boolean isProfilingEnabledForUser(java.util.UUID userId)
isProfilingEnabledForUser
in interface ScreenProfilerService
public long getTimeThreshold()
getTimeThreshold
in interface ScreenProfilerService
public java.util.Set<java.util.UUID> getUserIds()
getUserIds
in interface ScreenProfilerService
public void enableProfiling(java.util.Set<java.util.UUID> userIds, long timeThreshold)
enableProfiling
in interface ScreenProfilerService
public void disableProfiling()
disableProfiling
in interface ScreenProfilerService
public void saveEvents(java.util.List<ScreenProfilerEvent> events)
saveEvents
in interface ScreenProfilerService
public java.util.List<ScreenProfilerEvent> getProfilerEvents()
getProfilerEvents
in interface ScreenProfilerService
public void clearEvents()
clearEvents
in interface ScreenProfilerService