public class ParticipantResultFactory extends Object
Constructor and Description |
---|
ParticipantResultFactory() |
Modifier and Type | Method and Description |
---|---|
ConsumerParticipantResult |
createForConsumer(String participantName,
String clientRegisteredName,
CreateConsumerCommand command,
int acknowledgeMode,
int numberOfMessagesReceived,
int payloadSize,
long totalPayloadReceived,
Date start,
Date end,
Collection<Long> messageLatencies,
String providerVersion,
String protocolVersion) |
ParticipantResult |
createForError(String participantName,
String clientRegisteredName,
String errorMessage) |
ProducerParticipantResult |
createForProducer(String participantName,
String clientRegisteredName,
CreateProducerCommand command,
int acknowledgeMode,
int numberOfMessagesSent,
int payloadSize,
long totalPayloadSent,
Date start,
Date end,
String providerVersion,
String protocolVersion) |
public ConsumerParticipantResult createForConsumer(String participantName, String clientRegisteredName, CreateConsumerCommand command, int acknowledgeMode, int numberOfMessagesReceived, int payloadSize, long totalPayloadReceived, Date start, Date end, Collection<Long> messageLatencies, String providerVersion, String protocolVersion)
public ProducerParticipantResult createForProducer(String participantName, String clientRegisteredName, CreateProducerCommand command, int acknowledgeMode, int numberOfMessagesSent, int payloadSize, long totalPayloadSent, Date start, Date end, String providerVersion, String protocolVersion)
public ParticipantResult createForError(String participantName, String clientRegisteredName, String errorMessage)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.