public interface ProcessCorrelation
extends org.refcodes.mixin.CorrelationIdAccessor.CorrelationIdProperty
ProcessCorrelation
assigns a correlation ID to the invoking
process, this ID is used in log files and is part of the process's request or
response pay-load in order to track process execution throughout a JVM.org.refcodes.mixin.CorrelationIdAccessor.CorrelationIdBuilder<B extends org.refcodes.mixin.CorrelationIdAccessor.CorrelationIdBuilder<B>>, org.refcodes.mixin.CorrelationIdAccessor.CorrelationIdMutator, org.refcodes.mixin.CorrelationIdAccessor.CorrelationIdProperty
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 . |
void setCorrelationId(String aCorrelationId)
Thread
.setCorrelationId
in interface org.refcodes.mixin.CorrelationIdAccessor.CorrelationIdMutator
aCorrelationId
- The correlation ID to be assigned to the current
Thread
.String getCorrelationId()
Thread
.getCorrelationId
in interface org.refcodes.mixin.CorrelationIdAccessor
Thread
. In case the
current thread does not yet have a correlation ID, then a new
correlation ID is generated.Copyright © 2016. All rights reserved.