public class PerfCakeDebug extends Object
Modifier and Type | Method and Description |
---|---|
static PerfCakeDebug |
getInstance()
Gets the agent instance.
|
static void |
initialize()
Initializes the debug agent.
|
static void |
reportCorrelatedMessage()
Reports a received message.
|
static void |
reportCorrelatorName(Correlator correlator)
Reports the correlator class name.
|
static void |
reportGeneratorName(MessageGenerator generator)
Reports the message generator class name.
|
static void |
reportNewSenderTask()
Reports a new instance of a sender task was created.
|
static void |
reportParentReporter(Destination destination,
Reporter reporter)
Reports the destination's parent reporter for later matching.
|
static void |
reportReceiverName(Receiver receiver)
Reports the receiver class name.
|
static void |
reportReporterUsage(Reporter reporter)
Reports a measurement unit was sent to report for accumulation.
|
static void |
reportResultWritten(Destination destination)
Reports a result written to a destination.
|
static void |
reportSenderName(String senderClassName)
Reports the sender class name.
|
static void |
reportSentMessage()
Reports sending of a message.
|
static void |
reportSequenceName(String sequenceId,
Sequence sequence)
Reports the sequence class name.
|
static void |
reportSequenceSnapshot()
Reports a sequences snapshot has been taken.
|
static void |
reportValidationResult(MessageValidator validator,
boolean valid)
Reports a validation result.
|
static void |
reportValidatorName(String validatorId,
MessageValidator validator)
Reports validator class name.
|
public static PerfCakeDebug getInstance()
public static void initialize()
public static void reportGeneratorName(MessageGenerator generator)
generator
- The message generator instance.public static void reportSenderName(String senderClassName)
senderClassName
- The sender class name.public static void reportReceiverName(Receiver receiver)
receiver
- The receiver instance.public static void reportCorrelatorName(Correlator correlator)
correlator
- The correlator instance.public static void reportSequenceName(String sequenceId, Sequence sequence)
sequenceId
- The sequence id.sequence
- The sequence instance.public static void reportValidatorName(String validatorId, MessageValidator validator)
validatorId
- The validator id.validator
- The validator instance.public static void reportNewSenderTask()
public static void reportSentMessage()
public static void reportCorrelatedMessage()
public static void reportSequenceSnapshot()
public static void reportReporterUsage(Reporter reporter)
reporter
- The reporter instance.public static void reportParentReporter(Destination destination, Reporter reporter)
destination
- The destination instance.reporter
- The reporter instance.public static void reportResultWritten(Destination destination)
destination
- The destination instance.public static void reportValidationResult(MessageValidator validator, boolean valid)
validator
- The validator instance.valid
- The result of the validation.Copyright © 2010–2017 PerfCake Community. All rights reserved.