public static class RedisStreamCommands.XClaimOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RedisStreamCommands.XClaimOptions.XClaimOptionsBuilder |
| Modifier and Type | Method and Description |
|---|---|
RedisStreamCommands.XClaimOptions |
force()
Forces creation of a pending message entry in the PEL even if it does not already exist as long a the given
stream record id is valid.
|
Duration |
getIdleTime()
Get the IDLE ms time.
|
List<RecordId> |
getIds()
Get the
List of ID. |
String[] |
getIdsAsStringArray()
Get the ID array as
strings. |
Duration |
getMinIdleTime()
Get the min-idle-time.
|
Long |
getRetryCount()
Get the RETRYCOUNT count.
|
Instant |
getUnixTime()
Get the TIME ms-unix-time
|
RedisStreamCommands.XClaimOptions |
idle(Duration idleTime)
Set the idle time since last delivery of a message.
|
boolean |
isForce()
Get the FORCE flag.
|
static RedisStreamCommands.XClaimOptions.XClaimOptionsBuilder |
minIdle(Duration minIdleTime)
Set the min-idle-time to limit the command to messages that have been idle for at at least the given
Duration. |
static RedisStreamCommands.XClaimOptions.XClaimOptionsBuilder |
minIdleMs(long millis)
Set the min-idle-time to limit the command to messages that have been idle for at at least the given
milliseconds.
|
RedisStreamCommands.XClaimOptions |
retryCount(long retryCount)
Set the retry counter to the specified value.
|
RedisStreamCommands.XClaimOptions |
time(Instant unixTime)
Sets the idle time to a specific unix time (in milliseconds).
|
public static RedisStreamCommands.XClaimOptions.XClaimOptionsBuilder minIdle(Duration minIdleTime)
Duration.minIdleTime - must not be null.RedisStreamCommands.XClaimOptions.public static RedisStreamCommands.XClaimOptions.XClaimOptionsBuilder minIdleMs(long millis)
millis - RedisStreamCommands.XClaimOptions.public RedisStreamCommands.XClaimOptions idle(Duration idleTime)
time(Instant).idleTime - idle time.this.public RedisStreamCommands.XClaimOptions time(Instant unixTime)
idle(Duration).unixTime - idle time.this.public RedisStreamCommands.XClaimOptions retryCount(long retryCount)
retryCount - can be null. If null no change to the retry counter will be made.RedisStreamCommands.XClaimOptions.public RedisStreamCommands.XClaimOptions force()
RedisStreamCommands.XClaimOptions.public String[] getIdsAsStringArray()
strings.public Duration getMinIdleTime()
public boolean isForce()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.