A bounded record of what the engine and the output did, for finding out why a stream does not play right: the last CAPACITY events with the time since the trace began and up to three numbers each.
More...
|
| | EventTrace (long startMicros) |
| |
|
synchronized void | add (long nowMicros, TraceKind kind, long first, long second, long third) |
| |
|
synchronized int | importantSize () |
| | Important events kept (at most IMPORTANT_CAPACITY).
|
| |
|
synchronized String | importantText () |
| | The important events, oldest first, in the format of text().
|
| |
|
void | add (long nowMicros, TraceKind kind) |
| |
|
void | add (long nowMicros, TraceKind kind, long first) |
| |
|
void | add (long nowMicros, TraceKind kind, long first, long second) |
| |
|
synchronized int | size () |
| | Events kept (at most CAPACITY).
|
| |
|
synchronized long | total () |
| | Events ever added.
|
| |
|
synchronized long | overwritten () |
| | How many of the oldest events were overwritten.
|
| |
|
synchronized TraceKind | kindAt (int index) |
| | The kind of the event with this index, 0 being the oldest kept one.
|
| |
|
synchronized String | text () |
| | Oldest first, one event per line: " 1234 ms flush reason=hard resync written frames=19200".
|
| |
|
|
static void | setSessionEndNames (String[] names) |
| | Registers the names (lower case) that the ordinals of SESSION_END entries stand for.
|
| |
|
|
static final int | CAPACITY = 600 |
| |
|
static final int | IMPORTANT_CAPACITY = 100 |
| | The separate ring of rare, important events (they scroll out of the main ring in minutes when a stream is busy).
|
| |
A bounded record of what the engine and the output did, for finding out why a stream does not play right: the last CAPACITY events with the time since the trace began and up to three numbers each.
The oldest are overwritten. Thread safe (the engine thread writes, the screen reads). Pure.
◆ EventTrace()
| de.yaacc.multiroom.engine.EventTrace.EventTrace |
( |
long | startMicros | ) |
|
- Parameters
-
| startMicros | the engine clock at the start; the events show the time since then |
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/multiroom/engine/EventTrace.java