Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Public Attributes | List of all members
leveldb::SpecialEnv Class Reference
Inheritance diagram for leveldb::SpecialEnv:
Inheritance graph
[legend]
Collaboration diagram for leveldb::SpecialEnv:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

port::AtomicPointer delay_sstable_sync_
 
port::AtomicPointer no_space_
 
port::AtomicPointer non_writable_
 
port::AtomicPointer manifest_sync_error_
 
port::AtomicPointer manifest_write_error_
 
bool count_random_reads_
 
AtomicCounter random_read_counter_
 
AtomicCounter sleep_counter_
 
AtomicCounter sleep_time_counter_
 

Additional Inherited Members

- Static Public Member Functions inherited from leveldb::Env
static EnvDefault ()
 

Detailed Description

Definition at line 58 of file db_test.cc.

Constructor & Destructor Documentation

leveldb::SpecialEnv::SpecialEnv ( Env base)
inlineexplicit

Definition at line 81 of file db_test.cc.

Member Function Documentation

Status leveldb::SpecialEnv::NewRandomAccessFile ( const std::string &  f,
RandomAccessFile **  r 
)
inlinevirtual

Implements leveldb::Env.

Definition at line 159 of file db_test.cc.

Status leveldb::SpecialEnv::NewWritableFile ( const std::string &  f,
WritableFile **  r 
)
inlinevirtual

Implements leveldb::Env.

Definition at line 90 of file db_test.cc.

virtual void leveldb::SpecialEnv::SleepForMicroseconds ( int  micros)
inlinevirtual

Implements leveldb::Env.

Definition at line 183 of file db_test.cc.

Member Data Documentation

bool leveldb::SpecialEnv::count_random_reads_

Definition at line 75 of file db_test.cc.

port::AtomicPointer leveldb::SpecialEnv::delay_sstable_sync_

Definition at line 61 of file db_test.cc.

port::AtomicPointer leveldb::SpecialEnv::manifest_sync_error_

Definition at line 70 of file db_test.cc.

port::AtomicPointer leveldb::SpecialEnv::manifest_write_error_

Definition at line 73 of file db_test.cc.

port::AtomicPointer leveldb::SpecialEnv::no_space_

Definition at line 64 of file db_test.cc.

port::AtomicPointer leveldb::SpecialEnv::non_writable_

Definition at line 67 of file db_test.cc.

AtomicCounter leveldb::SpecialEnv::random_read_counter_

Definition at line 76 of file db_test.cc.

AtomicCounter leveldb::SpecialEnv::sleep_counter_

Definition at line 78 of file db_test.cc.

AtomicCounter leveldb::SpecialEnv::sleep_time_counter_

Definition at line 79 of file db_test.cc.


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