public class ImportantEventService
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImportantEventService.ImportantEvent |
| Constructor and Description |
|---|
ImportantEventService() |
ImportantEventService(boolean isEnabled,
long eventQueueMs) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.util.List<ImportantEventService.ImportantEvent> |
getEvents() |
void |
registerEvent(java.lang.String description) |
void |
registerEvent(java.util.function.Supplier<java.lang.String> descriptionSupplier) |
public ImportantEventService()
public ImportantEventService(boolean isEnabled,
long eventQueueMs)
public void clear()
public void registerEvent(java.util.function.Supplier<java.lang.String> descriptionSupplier)
public void registerEvent(java.lang.String description)
public java.util.List<ImportantEventService.ImportantEvent> getEvents()