Searched refs:mParentTickets (Results 1 – 1 of 1) sorted by relevance
96 releaseToParent = (mParentTickets.size() == mCapacity); in close()98 mParentTickets.add(mParentTicket); in close()134 private final ArrayDeque<Ticket> mParentTickets; field in ReservableTicketPool151 mParentTickets = new ArrayDeque<>(); in ReservableTicketPool()163 mAvailableTicketCount.update(mParentTickets.size()); in updateCurrentTicketCount()194 if (mParentTickets.isEmpty() || mTicketWaiters.size() > 0) { in tryAcquire()197 parentTicket = mParentTickets.remove(); in tryAcquire()222 mParentTickets.add(ticket); in reserveCapacity()256 int numParentTicketsToRelease = Math.min(mParentTickets.size(), capacityToRelease); in releaseCapacity()258 parentTicketsToRelease.add(mParentTickets.remove()); in releaseCapacity()[all …]