Connection
591592593594595596597598599600601
sendPacket(Msg.YOU_HAVE_EXCEEDED_THE_QUANTITY_THAT_CAN_BE_INPUTTED); return; } finally { inventory.writeUnlock(); } activeChar.sendChanges(); if (!list1.isShowAll())
253254255256257258259260261262263
} } } finally { inventory.writeUnlock(); } player.setHero(false); player.updatePledgeClass(); player.broadcastUserInfo(); }
214215216217218219220221222223224
{ _log.info("CommissionShopManager.registerItem: " + ae, ae); } finally { inventory.writeUnlock(); container.writeUnlock(); } showRegistrableItems(player); showPlayerRegisteredItems(player); }
331332333334335336337338339340341
e.printStackTrace(); } finally { container.writeUnlock(); inventory.writeUnlock(); } showRegistrableItems(player); showPlayerRegisteredItems(player); }
193194195196197198199200201202203
sendPacket(Msg.YOU_HAVE_EXCEEDED_THE_QUANTITY_THAT_CAN_BE_INPUTTED); return; } finally { warehouse.writeUnlock(); inventory.writeUnlock(); } activeChar.sendChanges(); activeChar.sendPacket(Msg.THE_TRANSACTION_IS_COMPLETE); }
187188189190191192193194195196197
synchronized (hbm) { theDND.setLastUpdate(0); hbm.heartbeatCheck(); } } finally { namesystem.writeUnlock(); } } /** * Change whether the block placement policy will prefer the writer's
118119120121122123124125126127128
cmds = NameNodeAdapter.sendHeartBeat(nodeReg, dd, namesystem) .getCommands(); assertEquals(0, cmds.length); } } finally { namesystem.writeUnlock(); } } finally { cluster.shutdown(); } }
231232233234235236237238239240241
assertEquals(recoveringNodes[0], dd1); assertEquals(recoveringNodes[1], dd2); assertEquals(recoveringNodes[2], dd3); } } finally { namesystem.writeUnlock(); } } finally { cluster.shutdown(); } }
114115116117118119120121122123124
// corrupt one won't be chosen to be excess one // without 4910 the number of live replicas would be 0: block gets lost assertEquals(1, bm.countNodes(block.getLocalBlock()).liveReplicas()); } } finally { namesystem.writeUnlock(); } } finally { cluster.shutdown(); }
173174175176177178179180181182183