private static void appendAuroraCommandOptions ( List < String > auroraCmd , boolean isVerbose ) { // Append verbose if needed if ( isVerbose ) { auroraCmd . add ( "--verbose" ) ; } // Append batch size. // Note that we can not use "--no-batching" since "restart" command does not accept it. // So we play a small trick here by setting batch size Integer.MAX_VALUE. auroraCmd . add ( "--batch-size" ) ; auroraCmd . add ( Integer . toString ( Integer . MAX_VALUE ) ) ; }
Static method to append verbose and batching options if needed