@DefaultSchema(value=AutoValueSchema.class) public abstract static class Solace.CorrelationKey extends java.lang.Object
In the streaming writer is optionally used to calculate publish latencies, by calculating the time difference between the creation of the correlation key, and the time of the ack.
Modifier and Type | Class and Description |
---|---|
static class |
Solace.CorrelationKey.Builder |
Constructor and Description |
---|
CorrelationKey() |
Modifier and Type | Method and Description |
---|---|
static Solace.CorrelationKey.Builder |
builder() |
abstract java.lang.String |
getMessageId() |
abstract long |
getPublishMonotonicNanos() |
@SchemaFieldNumber(value="0") public abstract java.lang.String getMessageId()
@SchemaFieldNumber(value="1") public abstract long getPublishMonotonicNanos()
public static Solace.CorrelationKey.Builder builder()