public void shutdownAndWait ( ) { try { client . shutdown ( ) . get ( ) ; LOG . info ( "The Queryable State Client was shutdown successfully." ) ; } catch ( Exception e ) { LOG . warn ( "The Queryable State Client shutdown failed: " , e ) ; } }
Shuts down the client and waits until shutdown is completed .