Public Member Functions | |
void[] | read (FileBucket bucket) |
void | write (FileBucket bucket, void[] data, BlockSize block) |
void | createBucket (FileBucket bucket, int bytes, BlockSize block) |
Static Private Member Functions | |
void | eof (FileBucket bucket) |
Private Attributes | |
long | offset |
int | length |
int | capacity = -1 |
Definition at line 295 of file FileBucket.d.
|
Definition at line 305 of file FileBucket.d. References FileBucket::path, and FilePath::toString(). |
|
This should be protected from thread-contention at a higher level. Definition at line 317 of file FileBucket.d. References FileBucket::buffer, eof(), FileBucket::file, offset, Conduit::read(), FileConduit::seek(), and Buffer::setContent(). Referenced by FileBucket::get(). |
|
This should be protected from thread-contention at a higher level. Definition at line 336 of file FileBucket.d. References FileBucket::buffer, createBucket(), eof(), FileBucket::file, Conduit::flush(), offset, FileConduit::seek(), and Buffer::setValidContent(). Referenced by FileBucket::put(). |
|
Definition at line 357 of file FileBucket.d. References FileBucket::BlockSize::capacity, FileBucket::file, FileBucket::fileSize, offset, FileConduit::seek(), and FileBucket::waterLine. Referenced by write(). |
|
Definition at line 297 of file FileBucket.d. Referenced by createBucket(), read(), and write(). |
|
Definition at line 298 of file FileBucket.d. |
|
Definition at line 299 of file FileBucket.d. |