![]() |
Feathercoin
0.5.0
P2P Digital Currency
|
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) |
![]() | |
EnvWrapper (Env *t) | |
virtual | ~EnvWrapper () |
Env * | target () 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) |
![]() | |
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 Env * | Default () |
Definition at line 58 of file db_test.cc.
|
inlineexplicit |
Definition at line 81 of file db_test.cc.
|
inlinevirtual |
Implements leveldb::Env.
Definition at line 159 of file db_test.cc.
|
inlinevirtual |
Implements leveldb::Env.
Definition at line 90 of file db_test.cc.
|
inlinevirtual |
Implements leveldb::Env.
Definition at line 183 of file db_test.cc.
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.