public void flushDb() {
   try {
     if (isPipelined()) {
       pipeline(pipeline.flushdb());
       return;
     }
     client.flushdb();
   } catch (Exception ex) {
     throw convertSrpAccessException(ex);
   }
 }