Interface OffloadTask.Body
- Enclosing class:
OffloadTask
public static interface OffloadTask.Body
Callback с телом выполнения offload-задачи.
Callback containing the body of an offload task.
-
Method Summary
-
Method Details
-
execute
void execute(int messageTypeId, long correlationId, org.agrona.concurrent.UnsafeBuffer payloadCopy, int payloadLength, Object handlerEntry, Object executionState) Выполняет обработку одного входящего запроса.Executes processing of one incoming request.
- Parameters:
messageTypeId- идентификатор типа сообщения / message type identifiercorrelationId- идентификатор корреляции запроса / request correlation identifierpayloadCopy- копия payload для offload-потока / payload copy for the offload threadpayloadLength- длина payload в байтах / payload length in byteshandlerEntry- запись зарегистрированного обработчика / registered handler entryexecutionState- reusable execution state for the task
-