Ejemplo n.º 1
0
 @AfterClass
 public static void shutDownStatic() throws Exception {
   try {
     if (bookKeeperClient != null) {
       bookKeeperClient.close();
     }
   } finally {
     if (bookKeeperCluster != null) {
       bookKeeperCluster.shutdown();
     }
     MiniAvatarCluster.shutDownZooKeeper();
   }
 }
Ejemplo n.º 2
0
 @AfterClass
 public static void shutDownClass() throws Exception {
   MiniAvatarCluster.shutDownZooKeeper();
 }