public static void closeSession(Session driverSes){
  if (driverSes == null)   return;
  Cluster cluster=driverSes.getCluster();
  if (!driverSes.isClosed())   U.closeQuiet(driverSes);
  if (!cluster.isClosed())   U.closeQuiet(cluster);
}

public static void closeSession ( Session driverSes ) { if ( driverSes == null ) return ; Cluster cluster = driverSes . getCluster ( ) ; if ( ! driverSes . isClosed ( ) ) U . closeQuiet ( driverSes ) ; if ( ! cluster . isClosed ( ) ) U . closeQuiet ( cluster ) ; }
closes cassandra driver session .
