Package ru.yoomoney.tech.dbqueue.api
-
Interface Summary Interface Description QueueConsumer<PayloadT> Task processor for the queueQueueProducer<PayloadT> Task producer for the queue, which adds a new task into the queue.QueueShardRouter<PayloadT,DatabaseAccessLayerT extends DatabaseAccessLayer> Dispatcher for sharding support.TaskPayloadTransformer<PayloadT> Marshaller and unmarshaller for the payload in the task -
Class Summary Class Description EnqueueParams<PayloadT> Parameters with typed payload to enqueue the taskEnqueueResult Task enqueue resultEnqueueResult.Builder Builder for theEnqueueResultobject.Task<PayloadT> Typed task wrapper with parameters, which is supplied to the QueueConsumer task processorTask.Builder<PayloadBuilderT> Builder for theTaskwrapper.TaskExecutionResult The action, which should be performed after the task processing.TaskRecord Raw database record with task parameters and payloadTaskRecord.Builder Builder for theTaskRecordclass -
Enum Summary Enum Description TaskExecutionResult.Type Action performed after task processing