Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Member Functions | List of all members
plasma::LRUCache Class Reference

#include <plasma/eviction_policy.h>

Public Member Functions

 LRUCache ()
void Add (const ObjectID &key, int64_t size)
void Remove (const ObjectID &key)
int64_t ChooseObjectsToEvict (int64_t num_bytes_required, std::vector< ObjectID > *objects_to_evict)

Constructor & Destructor Documentation

◆ LRUCache()

plasma::LRUCache::LRUCache ( )

Member Function Documentation

◆ Add()

void plasma::LRUCache::Add ( const ObjectID key,
int64_t  size 

◆ ChooseObjectsToEvict()

int64_t plasma::LRUCache::ChooseObjectsToEvict ( int64_t  num_bytes_required,
std::vector< ObjectID > *  objects_to_evict 

◆ Remove()

void plasma::LRUCache::Remove ( const ObjectID key)

The documentation for this class was generated from the following file: