Class AbstractBlockingPop
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.list.blocking.AbstractBlockingPop
- All Implemented Interfaces:
Resp3Command
Derogating to the command documentation, when multiple client are blocked
on a BLPOP, the order in which they will be served is unspecified.
- Since:
- 15.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
PollListenerSynchronizer This class synchronizes the access to a CompletableFuture `resultFuture` so that its final value will be completed either - with value v by an onListenerAdded() call if a not null value is found - otherwise by onEvent(k) call if the referred entry is not null or emptystatic class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionperform
(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) Methods inherited from class org.infinispan.server.resp.RespCommand
aclMask, extractKeys, fromByteBuf, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toString
-
Constructor Details
-
AbstractBlockingPop
public AbstractBlockingPop(int arity, int firstKeyPos, int lastKeyPos, int steps)
-
-
Method Details
-
perform
public CompletionStage<RespRequestHandler> perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) - Specified by:
perform
in interfaceResp3Command
-