Exemplo n.º 1
0
 public void addPendingUpgrades(ServerLockRequest[] upgrades) {
   for (int i = 0; i < upgrades.length; i++) {
     m_pendingUpgrades.add(new RequestNode(upgrades[i]));
   }
 }
Exemplo n.º 2
0
 public void addHolders(LockHolder[] holders) {
   for (int i = 0; i < holders.length; i++) {
     m_holders.add(new HolderNode(holders[i]));
   }
 }
Exemplo n.º 3
0
 public void addPendingRequests(ServerLockRequest[] requests) {
   for (int i = 0; i < requests.length; i++) {
     m_pendingRequests.add(new RequestNode(requests[i]));
   }
 }
Exemplo n.º 4
0
 public void addWaiters(Waiter[] waiters) {
   for (int i = 0; i < waiters.length; i++) {
     m_waiters.add(new WaiterNode(waiters[i]));
   }
 }