wavelength 1.0.0
Loading...
Searching...
No Matches
BlockRequest.h
Go to the documentation of this file.
1#pragma once
2
3#include <list>
4
5#include "os/AsyncTask.h"
6
12class BlockRequest {
13public:
21 BlockRequest(int blockNum, const AsyncTask &task);
22
29
30 int mBlockNum;
31 std::list<AsyncTask> mTasks;
32};
One part of an ArkFile read, which a single block of the disc satisfies.
Definition blockmgr.h:86
The tasks waiting for one block of the disc.
Definition blockmgr.h:121
~BlockRequest()
Release the list of reads.
std::list< AsyncTask > mTasks
Definition blockmgr.h:133
BlockRequest(int blockNum, const AsyncTask &task)
Start the list of reads of a block with one read.
int mBlockNum
Definition blockmgr.h:132