You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@OverridepublicFlux<BooleanResponse<ExpireAtCommand>> pExpireAt(Publisher<ExpireAtCommand> commands) {
returnconnection.execute(cmd -> Flux.from(commands).concatMap(command -> {
Assert.notNull(command.getKey(), "Key must not be null!");
Assert.notNull(command.getExpireAt(), "Expire at must not be null!");
returncmd.expireat(command.getKey(), command.getExpireAt().toEpochMilli())
.map(value -> newBooleanResponse<>(command, value));
}));
}
i think it should be cmd.pexpireat
defaultMono<Boolean> pExpire(ByteBufferkey, Durationtimeout) {
Assert.notNull(key, "Key must not be null!");
Assert.notNull(timeout, "Timeout must not be null!");
returnexpire(Mono.just(newExpireCommand(key, timeout))).next().map(BooleanResponse::getOutput);
}