Searched refs:Waiter (Results 1 – 3 of 3) sorted by relevance
52 private static class Waiter { class in ReservableTicketPool56 private Waiter(Condition doneCondition, int requestedTicketCount) { in Waiter() method in ReservableTicketPool.Waiter128 private final ArrayDeque<Waiter> mTicketWaiters;307 Waiter thisWaiter = new Waiter(mLock.newCondition(), tickets); in acquireParentTickets()362 Waiter nextWaiter = mTicketWaiters.peek(); in releaseWaitersOnTicketAvailability()381 List<Waiter> toRemove = new ArrayList<>(); in abortWaitersOnCapacityDecrease()382 for (Waiter waiter : mTicketWaiters) { in abortWaitersOnCapacityDecrease()387 for (Waiter waiter : toRemove) { in abortWaitersOnCapacityDecrease()
57 private class Waiter { class in FiniteTicketPool61 private Waiter(int ticketsRequested, Condition condition) { in Waiter() method in FiniteTicketPool.Waiter78 private final LinkedList<Waiter> mWaiters;103 Waiter nextWaiter = mWaiters.peekFirst(); in releaseTicket()125 Waiter thisWaiter = new Waiter(tickets, mLock.newCondition()); in acquire()195 for (Waiter waiter : mWaiters) { in close()