| Modifier and Type | Class and Description |
|---|---|
static interface |
RateReporter.Reporter
Interface for reporting of rate information.
|
| Constructor and Description |
|---|
RateReporter() |
RateReporter(String name) |
RateReporter(String name,
String location) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
boolean |
isDisposed() |
void |
onMessage(long messages,
long bytes)
Notify rate reporter of number of messages and bytes received, sent, etc.
|
void |
run() |
public RateReporter()
public RateReporter(String name)
public void dispose()
dispose in interface reactor.core.Disposablepublic boolean isDisposed()
isDisposed in interface reactor.core.Disposablepublic void onMessage(long messages,
long bytes)
messages - received, sent, etc.bytes - received, sent, etc.Copyright © 2015–2020. All rights reserved.