Home | History | Annotate | Download | only in utils

Lines Matching refs:ClientManager

175  * A default class implementing the LISTENER interface used by ClientManager.
195 * The ClientManager class wraps an LRU-ordered list of active clients and implements eviction
206 * the max cost allowed for this ClientManager, descriptors with non-zero cost, equal or lower
213 class ClientManager {
218 ClientManager();
219 ClientManager(int32_t totalCost);
306 * These callback methods will be called with the ClientManager's lock held, and should
307 * not call any further ClientManager methods.
310 * from the ClientManager that this event listener has been added to. The onClientAdded
311 * method will be called when the client has been added to the ClientManager that this
317 ~ClientManager();
342 }; // class ClientManager
345 ClientManager<KEY, VALUE, LISTENER>::ClientManager() :
346 ClientManager(DEFAULT_MAX_COST) {}
349 ClientManager<KEY, VALUE, LISTENER>::ClientManager(int32_t totalCost) : mMaxCost(totalCost) {}
352 ClientManager<KEY, VALUE, LISTENER>::~ClientManager() {}
356 ClientManager<KEY, VALUE, LISTENER>::wouldEvict(
364 ClientManager<KEY, VALUE, LISTENER>::getIncompatibleClients(
372 ClientManager<KEY, VALUE, LISTENER>::wouldEvictLocked(
465 ClientManager<KEY, VALUE, LISTENER>::addAndEvict(
500 ClientManager<KEY, VALUE, LISTENER>::getAll() const {
506 std::vector<KEY> ClientManager<KEY, VALUE, LISTENER>::getAllKeys() const {
516 std::vector<int32_t> ClientManager<KEY, VALUE, LISTENER>::getAllOwners() const {
526 void ClientManager<KEY, VALUE, LISTENER>::updatePriorities(
538 std::shared_ptr<ClientDescriptor<KEY, VALUE>> ClientManager<KEY, VALUE, LISTENER>::get(
548 void ClientManager<KEY, VALUE, LISTENER>::removeAll() {
560 std::shared_ptr<ClientDescriptor<KEY, VALUE>> ClientManager<KEY, VALUE, LISTENER>::remove(
582 status_t ClientManager<KEY, VALUE, LISTENER>::waitUntilRemoved(
614 void ClientManager<KEY, VALUE, LISTENER>::setListener(const std::shared_ptr<LISTENER>& listener) {
620 void ClientManager<KEY, VALUE, LISTENER>::remove(
636 int64_t ClientManager<KEY, VALUE, LISTENER>::getCurrentCostLocked() const {