Logo Search packages:      
Sourcecode: leveldb version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Attributes

leveldb::EnvWrapper Class Reference

Inheritance diagram for leveldb::EnvWrapper:
Inheritance graph
Collaboration diagram for leveldb::EnvWrapper:
Collaboration graph

List of all members.

Public Member Functions

Status CreateDir (const std::string &d)
Status DeleteDir (const std::string &d)
Status DeleteFile (const std::string &f)
 EnvWrapper (Env *t)
bool FileExists (const std::string &f)
Status GetChildren (const std::string &dir, std::vector< std::string > *r)
Status GetFileSize (const std::string &f, uint64_t *s)
virtual Status GetTestDirectory (std::string *path)
Status LockFile (const std::string &f, FileLock **l)
virtual Status NewLogger (const std::string &fname, Logger **result)
Status NewRandomAccessFile (const std::string &f, RandomAccessFile **r)
Status NewSequentialFile (const std::string &f, SequentialFile **r)
Status NewWritableFile (const std::string &f, WritableFile **r)
uint64_t NowMicros ()
Status RenameFile (const std::string &s, const std::string &t)
void Schedule (void(*f)(void *), void *a)
virtual void Schedule (void(*function)(void *arg), void *arg)=0
void SleepForMicroseconds (int micros)
virtual void StartThread (void(*function)(void *arg), void *arg)=0
void StartThread (void(*f)(void *), void *a)
Envtarget () const
Status UnlockFile (FileLock *l)

Static Public Member Functions

static EnvDefault ()

Private Attributes


Detailed Description

Definition at line 259 of file env.h.

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

Generated by  Doxygen 1.6.0   Back to index