@Service(value="cuba_ScreenProfilerService") public class ScreenProfilerServiceBean extends java.lang.Object implements ScreenProfilerService
NAME| Constructor and Description |
|---|
ScreenProfilerServiceBean() |
| 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() |
void |
init() |
boolean |
isProfilingEnabled() |
boolean |
isProfilingEnabledForUser(java.util.UUID userId) |
void |
saveEvents(java.util.List<ScreenProfilerEvent> events) |
@PostConstruct public void init()
public boolean isProfilingEnabled()
isProfilingEnabled in interface ScreenProfilerServicepublic long getTimeThreshold()
getTimeThreshold in interface ScreenProfilerServicepublic java.util.Set<java.util.UUID> getUserIds()
getUserIds in interface ScreenProfilerServicepublic boolean isProfilingEnabledForUser(java.util.UUID userId)
isProfilingEnabledForUser in interface ScreenProfilerServicepublic void enableProfiling(java.util.Set<java.util.UUID> userIds,
long timeThreshold)
enableProfiling in interface ScreenProfilerServicepublic void disableProfiling()
disableProfiling in interface ScreenProfilerServicepublic void saveEvents(java.util.List<ScreenProfilerEvent> events)
saveEvents in interface ScreenProfilerServicepublic java.util.List<ScreenProfilerEvent> getProfilerEvents()
getProfilerEvents in interface ScreenProfilerServicepublic void clearEvents()
clearEvents in interface ScreenProfilerService