Searched refs:mAvailableTicketCount (Results 1 – 3 of 3) sorted by relevance
65 private final AvailableTicketCounter mAvailableTicketCount; field in DynamicRingBuffer76 mAvailableTicketCount = new AvailableTicketCounter(Arrays.asList(mQueueSize, parentTickets in DynamicRingBuffer()96 mAvailableTicketCount.freeze(); in update()113 mAvailableTicketCount.unfreeze(); in update()174 return mAvailableTicketCount; in getAvailableTicketCount()202 mAvailableTicketCount.freeze(); in shrinkToFitMaxSize()211 mAvailableTicketCount.unfreeze(); in shrinkToFitMaxSize()
79 private final ConcurrentState<Integer> mAvailableTicketCount; field in FiniteTicketPool91 mAvailableTicketCount = new ConcurrentState<>(capacity); in FiniteTicketPool()157 mAvailableTicketCount.update(0); in updateAvailableTicketCount()159 mAvailableTicketCount.update(mTickets); in updateAvailableTicketCount()166 return mAvailableTicketCount; in getAvailableTicketCount()
139 private final ConcurrentState<Integer> mAvailableTicketCount; field in ReservableTicketPool153 mAvailableTicketCount = new ConcurrentState<>(0); in ReservableTicketPool()161 mAvailableTicketCount.update(0); in updateCurrentTicketCount()163 mAvailableTicketCount.update(mParentTickets.size()); in updateCurrentTicketCount()186 return mAvailableTicketCount; in getAvailableTicketCount()