Class ThrottledResourceManager.QueuedQueryResourceManager

java.lang.Object
org.apache.drill.exec.work.foreman.rm.ThrottledResourceManager.QueuedResourceAllocator
org.apache.drill.exec.work.foreman.rm.ThrottledResourceManager.QueuedQueryResourceManager
All Implemented Interfaces:
QueryResourceAllocator, QueryResourceManager
Enclosing class:
ThrottledResourceManager

public static class ThrottledResourceManager.QueuedQueryResourceManager extends ThrottledResourceManager.QueuedResourceAllocator implements QueryResourceManager
Per-query resource manager. Handles resources and optional queue lease for a single query. As such, this is a non-shared resource: it is associated with a Foreman: a single thread at plan time, and a single event (in some thread) at query completion time. Because of these semantics, no synchronization is needed within this class.