public class ProcessCorrelationImpl extends Object implements ProcessCorrelation
org.refcodes.mixin.mixins.CorrelationIdAccessor.CorrelationIdBuilder<B>, org.refcodes.mixin.mixins.CorrelationIdAccessor.CorrelationIdMutator, org.refcodes.mixin.mixins.CorrelationIdAccessor.CorrelationIdProperty| Constructor and Description |
|---|
ProcessCorrelationImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCorrelationId()
Retrieves the correlation ID assigned to the current
Thread. |
void |
setCorrelationId(String aCorrelationId)
Assigns the given correlation ID to the current
Thread. |
public void setCorrelationId(String aCorrelationId)
Thread.setCorrelationId in interface org.refcodes.mixin.mixins.CorrelationIdAccessor.CorrelationIdMutatorsetCorrelationId in interface ProcessCorrelationaCorrelationId - The correlation ID to be assigned to the current
Thread.public String getCorrelationId()
Thread.getCorrelationId in interface org.refcodes.mixin.mixins.CorrelationIdAccessorgetCorrelationId in interface ProcessCorrelationThread. In case the
current thread does not yet have a correlation ID, then a new
correlation ID is generated.Copyright © 2015. All rights reserved.