Interface TraceConsumer
public interface TraceConsumer
A consumer of traced method calls.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddefault TraceConsumerandThen(TraceConsumer after) Returns a composedTraceConsumerthat performs, in sequence, this operation followed by theafteroperation.
-
Method Details
-
accept
-
andThen
Returns a composedTraceConsumerthat performs, in sequence, this operation followed by theafteroperation. If performing either operation throws an exception, it is relayed to the caller of the composed operation. If performing this operation throws an exception, theafteroperation will not be performed.- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
TraceConsumerthat performs in sequence this operation followed by theafteroperation - Throws:
NullPointerException- ifafteris null
-