sets a cancel closure . concode_field_sep AtomicReferenceFieldUpdater<GridQueryCancel,Runnable> STATE_UPDATER concode_elem_sep Runnable clo concode_elem_sep Runnable CANCELLED concode_field_sep void cancel concode_elem_sep void run concode_elem_sep void checkCancelled
void function ( Runnable arg0 ) { assert arg0 != null ; while ( true ) { Runnable loc0 = this . clo ; if ( loc0 == CANCELLED ) throw new QueryCancelledException ( ) ; if ( STATE_UPDATER . compareAndSet ( this , loc0 , arg0 ) ) return ; } }