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 choose_objects_to_evict (int64_t num_bytes_required, std::vector< ObjectID > *objects_to_evict)
 

Constructor & Destructor Documentation

◆ LRUCache()

plasma::LRUCache::LRUCache ( )
inline

Member Function Documentation

◆ add()

void plasma::LRUCache::add ( const ObjectID key,
int64_t  size 
)

◆ choose_objects_to_evict()

int64_t plasma::LRUCache::choose_objects_to_evict ( 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: