T
- type of key that is used to reference an eventpublic interface DiagnosticEventStore<T extends java.lang.Comparable<T>>
DiagnosticEvent
s.Modifier and Type | Method and Description |
---|---|
T |
getLastEventId()
Returns the greatest event ID that can be used to fetch events via
scan(Comparable, int) . |
void |
load()
Initializes the store.
|
java.util.NavigableMap<T,DiagnosticEvent> |
scan(T key,
int limit)
Returns a view on all events with a key greater than the provided value (inclusive) up to the specified
number of results.
|
void |
store(DiagnosticEvent event)
Stores provided event and returns the new associated store key for it.
|
void load()
void store(DiagnosticEvent event)
java.util.NavigableMap<T,DiagnosticEvent> scan(T key, int limit)
T getLastEventId()
scan(Comparable, int)
.Copyright © 2009- The Apache Software Foundation