public class BacklogStat extends Object
StreamStat counters.
Each stream managed by the MediaDriver will be sampled and printed out on System.out.
| Modifier and Type | Class and Description |
|---|---|
static class |
BacklogStat.StreamBacklog
Represents the backlog information for a particular stream of messages.
|
static class |
BacklogStat.StreamCompositeKey
Composite key which identifies an Aeron stream of messages.
|
| Constructor and Description |
|---|
BacklogStat(CountersReader counters)
Construct by using a
CountersReader which can be obtained from Aeron.countersReader(). |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main method for launching the process.
|
void |
print(PrintStream out)
Print a snapshot of the stream backlog with some explanation to a
PrintStream. |
Map<BacklogStat.StreamCompositeKey,BacklogStat.StreamBacklog> |
snapshot()
Take a snapshot of all the backlog information and group by stream.
|
public BacklogStat(CountersReader counters)
CountersReader which can be obtained from Aeron.countersReader().counters - to read for tracking positions.public static void main(String[] args)
args - passed to the process.public Map<BacklogStat.StreamCompositeKey,BacklogStat.StreamBacklog> snapshot()
public void print(PrintStream out)
PrintStream.
Each stream will be printed in its own section.
out - to which the stream backlog will be written.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.