public interface LogSegregationContext
Modifier and Type | Method and Description |
---|---|
String |
getLogSegragationId() |
String |
getQueryId()
Get current query id in log segregation
|
void |
setLogSegragationAndQueryId(String id)
Sets query id to be used by current thread for log segregation for identifying current query.
|
void |
setLogSegregationId(String id)
Sets an id to be used by current thread in every log line for log segregation
|
void |
setQueryId(String id)
Sets query id to be used by current thread for log segregation for identifying current query.
|
void setLogSegregationId(String id)
id
- the id to be added to every log line of current threadString getLogSegragationId()
void setLogSegragationAndQueryId(String id)
id
- the query idvoid setQueryId(String id)
id
- the query idString getQueryId()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.