Coda Distributed File System
Public Member Functions | List of all members
CacheChunk Class Reference

#include <fso_cachefile.h>

Inheritance diagram for CacheChunk:
Inheritance graph
[legend]
Collaboration diagram for CacheChunk:
Collaboration graph
[legend]

Public Member Functions

 CacheChunk (uint64_t start, int64_t len)
 
 CacheChunk ()
 
uint64_t GetStart ()
 
int64_t GetLength ()
 
bool isValid ()
 

Constructor & Destructor Documentation

◆ CacheChunk() [1/2]

CacheChunk::CacheChunk ( uint64_t  start,
int64_t  len 
)
inline

Constructor

Parameters
startthe chunk's start
lenthe chunk's length

◆ CacheChunk() [2/2]

CacheChunk::CacheChunk ( )
inline

Constructor

Member Function Documentation

◆ GetLength()

int64_t CacheChunk::GetLength ( )
inline

Chunk's length getter

Returns
the chunk's length

◆ GetStart()

uint64_t CacheChunk::GetStart ( )
inline

Chunk's start getter

Returns
the chunk's start

◆ isValid()

bool CacheChunk::isValid ( )
inline

Check wether the object represents a valid chunk

Returns
true if object represents a valid chunk and false otherwise

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