void function ( ) { for ( AsyncCall loc0 : readyAsyncCalls ) { loc0 . get ( ) . cancel ( ) ; } for ( AsyncCall loc0 : runningAsyncCalls ) { loc0 . get ( ) . cancel ( ) ; } for ( RealCall loc0 : runningSyncCalls ) { loc0 . cancel ( ) ; } }
cancel all calls currently enqueued or executing . includes calls executed both @linkplain call #execute synchronously and @linkplain call #enqueue asynchronously . concode_field_sep ExecutorService executorService concode_elem_sep Deque<RealCall> runningSyncCalls concode_elem_sep int maxRequestsPerHost concode_elem_sep Deque<AsyncCall> readyAsyncCalls concode_elem_sep Deque<AsyncCall> runningAsyncCalls concode_elem_sep Runnable idleCallback concode_elem_sep int maxRequests concode_field_sep void promoteCalls concode_elem_sep ExecutorService executorService concode_elem_sep List<Call> queuedCalls concode_elem_sep void executed concode_elem_sep void finished concode_elem_sep void finished concode_elem_sep void finished concode_elem_sep void setMaxRequests concode_elem_sep int queuedCallsCount concode_elem_sep int getMaxRequestsPerHost concode_elem_sep void enqueue concode_elem_sep int runningCallsForHost concode_elem_sep List<Call> runningCalls concode_elem_sep void setMaxRequestsPerHost concode_elem_sep int getMaxRequests concode_elem_sep void setIdleCallback concode_elem_sep int runningCallsCount