Navigation
API > API/Runtime > API/Runtime/CoreUObject
A batch request is a handle to one or more I/O requests.
The batch request is kept alive by passing in handles when appending read operations or by passing in a handle when issuing the batch. At least one handle needs to be passed in. The last handle will block until the entire batch is complete before being released.
| Name | FBulkDataBatchRequest |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkData.h |
| Include Path | #include "Serialization/BulkData.h" |
Syntax
class FBulkDataBatchRequest : public FBulkDataRequest
Inheritance Hierarchy
- FBulkDataRequest → FBulkDataBatchRequest
Classes
| Name | Remarks |
|---|---|
| FBatchBuilder | Issue one or more I/O request in a single batch. |
| FBatchHandle | |
| FBuilder | |
| FScatterGatherBuilder | Reads one or more bulk data and copies the result into a single I/O buffer. |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Constructs a new handle to bulk data request. | Serialization/BulkData.h | ||
| Moves ownership from an invalid or pending request. | Serialization/BulkData.h | ||
FBulkDataRequest
(
const FBulkDataRequest& |
Not copy constructable or copy assignable. | Serialization/BulkData.h | |
FBulkDataRequest
(
FBulkDataRequest::IHandle* InHandle |
Serialization/BulkData.h | ||
void UpdatePriority
(
const EAsyncIOPriorityAndFlags Priority |
Adjusts the priority of the request(s) (if possible). | Serialization/BulkData.h | |
void Wait () |
Blocks the calling thread until the request is completed. | Serialization/BulkData.h | |
bool WaitFor
(
uint32 Milliseconds |
Waits the specified amount of time in milliseconds for the request to be completed. | Serialization/BulkData.h | |
| Waits the specified amount of time for the request to be completed. | Serialization/BulkData.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FBatchBuilder NewBatch
(
int32 MaxCount |
Returns a request builder that dispatches one or more I/O requests in a single batch. | Serialization/BulkData.h | |
static FScatterGatherBuilder ScatterGather
(
int32 MaxCount |
Returns a request builder that reads one or more bulk data into a single I/O buffer. | Serialization/BulkData.h |