Package org.apache.druid.query.context
Class ConcurrentResponseContext
- java.lang.Object
-
- org.apache.druid.query.context.ResponseContext
-
- org.apache.druid.query.context.ConcurrentResponseContext
-
public class ConcurrentResponseContext extends ResponseContext
The implementation ofResponseContextwith aConcurrentHashMapas a delegate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.druid.query.context.ResponseContext
ResponseContext.AbstractKey, ResponseContext.BooleanKey, ResponseContext.CounterKey, ResponseContext.Key, ResponseContext.Keys, ResponseContext.LongKey, ResponseContext.SerializationResult, ResponseContext.StringKey
-
-
Constructor Summary
Constructors Constructor Description ConcurrentResponseContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConcurrentResponseContextcreateEmpty()protected Map<ResponseContext.Key,Object>getDelegate()-
Methods inherited from class org.apache.druid.query.context.ResponseContext
add, addCpuNanos, addMissingSegments, addRemainingResponse, addRowScanCount, deserialize, get, getCpuNanos, getEntityTag, getMissingSegments, getRemainingResponses, getRowScanCount, getTimeoutTime, getTotalBytes, getUncoveredIntervals, initialize, initializeMissingSegments, initializeRemainingResponses, initializeRowScanCount, merge, put, putEntityTag, putQueryFailDeadlineMs, putTimeoutTime, putUncoveredIntervals, remove, serializeWith, toMap
-
-
-
-
Method Detail
-
createEmpty
public static ConcurrentResponseContext createEmpty()
-
getDelegate
protected Map<ResponseContext.Key,Object> getDelegate()
- Specified by:
getDelegatein classResponseContext
-
-