Public Member Functions |
|
| AsyncFile (SimulatedBlock &fs) |
|
virtual int | init ()=0 |
|
virtual bool | isOpen ()=0 |
|
void | set_buffer (Uint32 rg, Ptr< GlobalPage > ptr, Uint32 cnt) |
|
bool | has_buffer () const |
|
void | clear_buffer (Uint32 &rg, Ptr< GlobalPage > &ptr, Uint32 &cnt) |
|
AsyncIoThread * | getThread () const |
Protected Attributes |
|
size_t | m_write_wo_sync |
|
size_t | m_auto_sync_freq |
|
Uint32 | m_open_flags |
| Uint32 | m_resource_group |
|
Uint32 | m_page_cnt |
|
Ptr< GlobalPage > | m_page_ptr |
|
char * | theWriteBuffer |
|
Uint32 | theWriteBufferSize |
Friends |
|
class | Ndbfs |
|
class | AsyncIoThread |
Detailed Description
Definition at line 25 of file AsyncFile.hpp.
Member Function Documentation
| void AsyncFile::readReq |
( |
Request * |
request | ) |
|
|
protectedvirtual |
Unlikely to need to implement these. readvReq for iovec
Definition at line 65 of file AsyncFile.cpp.
| void AsyncFile::writeReq |
( |
Request * |
request | ) |
|
|
protectedvirtual |
Unlikely to need to implement these, writeBuffer likely sufficient. writevReq for iovec (not yet used)
Definition at line 89 of file AsyncFile.cpp.
Member Data Documentation
| Uint32 AsyncFile::m_resource_group |
|
protected |
The documentation for this class was generated from the following files: