Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

FdCache Namespace Reference


Classes

struct  FdInfo
class  PartialCache

Typedefs

typedef ::Table< ShortIdKey,
FdInfo * >::Default 
FdTable
typedef ::Table< ShortIdKey,
FdInfo * >::Iterator 
FdIter

Enumerations

enum  OFlag { ro, rw, any }

Functions

int open (ShortId sid, OFlag ofl, OFlag *oflOut=NULL) throw ()
int tryopen (ShortId sid, OFlag ofl, OFlag *oflOut=NULL) throw ()
void close (ShortId sid, int fd, OFlag ofl) throw ()
void flush (ShortId sid, OFlag ofl) throw ()
void getStats (Basics::uint32 &n_in_cache, Basics::uint64 &hits, Basics::uint64 &open_misses, Basics::uint64 &try_misses, Basics::uint64 &evictions, Basics::uint64 &expirations)


Typedef Documentation

typedef ::Table<ShortIdKey, FdInfo*>::Iterator FdCache::FdIter
 

Definition at line 55 of file FdCache.C.

typedef ::Table<ShortIdKey, FdInfo*>::Default FdCache::FdTable
 

Definition at line 54 of file FdCache.C.


Enumeration Type Documentation

enum FdCache::OFlag
 

Enumeration values:
ro 
rw 
any 

Definition at line 36 of file FdCache.H.


Function Documentation

void FdCache::close ShortId  sid,
int  fd,
OFlag  ofl
throw ()
 

Referenced by any_fattr(), apply_sattr(), VestaLog::checkpointBegin(), Copy(), VDirChangeable::copyMutableToImmutable(), CopyShortId(), do_create(), DoDeletions(), VLeaf::executable(), fd_inactive(), FS::TempFname(), FS::Touch(), ReposUI::getMessage(), GlueInit(), VDirChangeable::insertMutableFile(), KeepDerived(), AtomicFile::open(), OS::GetProcessSize(), TextVC::PrintD(), VLeaf::read(), VLeaf::setExecutable(), VLeaf::setSize(), VLeaf::size(), VLeaf::timestamp(), and VLeaf::write().

void FdCache::flush ShortId  sid,
OFlag  ofl
throw ()
 

Referenced by Tool_Relay::body(), AtomicFile::close(), VDirChangeable::copyMutableToImmutable(), ReposUI::getMessage(), init(), main(), RunTool(), SRPC_impl::send_bytes(), TCP_sock::send_data(), SRPC_impl::send_int16(), SRPC_impl::send_int32(), SRPC_impl::send_int64(), SRPC_impl::send_item_code(), and ShipText().

void FdCache::getStats Basics::uint32 n_in_cache,
Basics::uint64 &  hits,
Basics::uint64 &  open_misses,
Basics::uint64 &  try_misses,
Basics::uint64 &  evictions,
Basics::uint64 &  expirations
 

int FdCache::open ShortId  sid,
OFlag  ofl,
OFlag oflOut = NULL
throw ()
 

Referenced by apply_sattr(), VestaLog::checkpointBegin(), Copy(), VDirChangeable::copyMutableToImmutable(), CopyShortId(), SourceOrDerived::create(), VLeaf::executable(), SourceOrDerived::fdcreate(), SourceOrDerived::fdopen(), fh_fd(), FS::FdStreambuf::FdStreambuf(), FS::TempFname(), FS::Touch(), SourceOrDerived::open(), VestaLog::open(), FS::FdStream::open(), FS::OFdStream::open(), FS::IFdStream::open(), AtomicFile::open(), OS::GetProcessSize(), VLeaf::read(), VLeaf::setExecutable(), VLeaf::setSize(), VLeaf::size(), VLeaf::timestamp(), and VLeaf::write().

int FdCache::tryopen ShortId  sid,
OFlag  ofl,
OFlag oflOut = NULL
throw ()
 

Referenced by any_fattr().


Generated on Mon May 8 00:49:18 2006 for Vesta by  doxygen 1.4.2