public void setCommandSequence ( long sequence ) { // For each increment of the sequence number, trigger query callbacks that are dependent on the specific sequence. for ( long i = commandSequence + 1 ; i <= sequence ; i ++ ) { commandSequence = i ; List < Runnable > queries = this . sequenceQueries . remove ( commandSequence ) ; if ( queries != null ) { for ( Runnable query : queries ) { query . run ( ) ; } } } }
Sets the session operation sequence number .