
public class JGroupsMonitor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JGroupsMonitor.Record |
| Constructor and Description |
|---|
JGroupsMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecord(Bus bus,
String message,
Exception exception) |
void |
addRecord(Bus bus,
org.jgroups.View oldView,
org.jgroups.View view) |
void |
getRecords(Consumer<List<JGroupsMonitor.Record>> consumer,
Bus bus)
Runs the provided consumer on the list of the last 100 log entries for the specified bus.
|
public void addRecord(Bus bus, org.jgroups.View oldView, org.jgroups.View view)
public void getRecords(Consumer<List<JGroupsMonitor.Record>> consumer, Bus bus)
consumer - Task to execute.bus - Bus.Copyright © 2021 LSST. All rights reserved.