bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
FileCache::Item Class Reference

Manage the state of an open file descriptor for a cached item. More...

#include <FileCache.h>

Inheritance diagram for FileCache::Item:
Inheritance graph
Collaboration diagram for FileCache::Item:
Collaboration graph

Public Member Functions

int get_fd () const
 
 Item (const Item &)=delete
 
 Item (int fd)
 
bool lock_the_item (int lock_type, const std::string &msg="") const
 
Itemoperator= (const Item &)=delete
 
void set_fd (int fd)
 

Detailed Description

Manage the state of an open file descriptor for a cached item.

Definition at line 327 of file FileCache.h.

Constructor & Destructor Documentation

◆ Item()

FileCache::Item::Item ( int fd)
inlineexplicit

Definition at line 333 of file FileCache.h.

◆ ~Item()

virtual FileCache::Item::~Item ( )
inlinevirtual

Definition at line 335 of file FileCache.h.

Member Function Documentation

◆ get_fd()

int FileCache::Item::get_fd ( ) const
inline

Definition at line 342 of file FileCache.h.

◆ lock_the_item()

bool FileCache::Item::lock_the_item ( int lock_type,
const std::string & msg = "" ) const
inline

Definition at line 349 of file FileCache.h.

◆ set_fd()

void FileCache::Item::set_fd ( int fd)
inline

Definition at line 345 of file FileCache.h.


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