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

Public Member Functions | Static Public Member Functions | Public Attributes

leveldb::SpecialEnv Class Reference

Inheritance diagram for leveldb::SpecialEnv:
Inheritance graph
[legend]
Collaboration diagram for leveldb::SpecialEnv:
Collaboration graph
[legend]

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)
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)
virtual void Schedule (void(*function)(void *arg), void *arg)=0
void Schedule (void(*f)(void *), void *a)
void SleepForMicroseconds (int micros)
 SpecialEnv (Env *base)
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 ()

Public Attributes

port::AtomicPointer delay_sstable_sync_

Detailed Description

Definition at line 26 of file db_test.cc.


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

Generated by  Doxygen 1.6.0   Back to index