public interface CorrelationId
This is an interface, which can be used to identify any async operations. The CorrelationId internally provides an auto-assigned value (32-bit integer with 24 meaningful
bits). It may also contain an optional user provided Object. PutMessage.setCorrelationId() can be used to consecutively generate a unique
CorrelationId starting from 1 and up to 0xFFFFFF from multiple execution threads.
Another flavour of the PutMessage#setCorrelationId can be used to generate similar unique
CorrelationId that will held a user specified Object.
| Modifier and Type | Method and Description |
|---|---|
Object |
userData()
Returns the user provided
Object associated with this correlation ID. |
Object userData()
Object associated with this correlation ID.Copyright © 2023 Bloomberg L.P.. All rights reserved.