public abstract class ProcessingInstructionHelper extends Object
ProcessingInstruction
s.Modifier and Type | Method and Description |
---|---|
static long |
numberOfResults(List<io.axoniq.axonserver.grpc.ProcessingInstruction> processingInstructions)
Retrieve the desired 'number of results' as a
long from the given processingInstructions , by
searching for the ProcessingInstruction who's key equals the ProcessingKey.NR_OF_RESULTS . |
static long |
priority(List<io.axoniq.axonserver.grpc.ProcessingInstruction> processingInstructions)
Retrieve the priority as a
long from the given processingInstructions , by searching for the
ProcessingInstruction who's key equals the ProcessingKey.PRIORITY . |
static long |
timeout(List<io.axoniq.axonserver.grpc.ProcessingInstruction> processingInstructions)
Retrieve the desired 'number of results' as a
long from the given processingInstructions , by
searching for the ProcessingInstruction who's key equals the ProcessingKey.NR_OF_RESULTS . |
public static long priority(List<io.axoniq.axonserver.grpc.ProcessingInstruction> processingInstructions)
long
from the given processingInstructions
, by searching for the
ProcessingInstruction
who's key equals the ProcessingKey.PRIORITY
.processingInstructions
- a List
of ProcessingInstruction
s to retrieve the ProcessingKey.PRIORITY
fromlong
specifying the priority of a given operationpublic static long numberOfResults(List<io.axoniq.axonserver.grpc.ProcessingInstruction> processingInstructions)
long
from the given processingInstructions
, by
searching for the ProcessingInstruction
who's key equals the ProcessingKey.NR_OF_RESULTS
.processingInstructions
- a List
of ProcessingInstruction
s to retrieve the ProcessingKey.NR_OF_RESULTS
fromlong
specifying the desired 'number of results' for a given operationpublic static long timeout(List<io.axoniq.axonserver.grpc.ProcessingInstruction> processingInstructions)
long
from the given processingInstructions
, by
searching for the ProcessingInstruction
who's key equals the ProcessingKey.NR_OF_RESULTS
.processingInstructions
- a List
of ProcessingInstruction
s to retrieve the ProcessingKey.NR_OF_RESULTS
fromlong
specifying the desired 'number of results' for a given operationCopyright © 2010–2020. All rights reserved.