src/main/java/io/vertx/todo/TodoApplication.java
/**
	 * @param routingContext
	 * <p>
	 * Method will delete all the todos in the local map
	 * </p>
	 */
@param routingContext

Method will delete all the todos in the local map

@param routingContext Method will delete all the todos in the local map
private void deleteAll(RoutingContext routingContext) {
		client.flushdb(r -> {
			if (r.succeeded()) {
				routingContext.response().setStatusCode(204).end();
			} else {
				System.out.println("Connection or Operation Failed " + r.cause());
			}
		});
	}
private void deleteAll ( RoutingContext routingContext ) { client . flushdb ( r -> { if ( r . succeeded ( ) ) { routingContext . response ( ) . setStatusCode ( 204 ) . end ( ) ; } else { System . out . println ( "Connection or Operation Failed " + r . cause ( ) ) ; } } ) ; }
@param routingContext
 <p>
 Method will delete all the todos in the local map
 </p>
@param routingContext <p > Method will delete all the todos in the local map < / p >
// flushdb the selected db by the program to delete all // send 204 (No content) to indicate user // showing the error cause