expireat(
name: KeyT,
when: AbsExpiryT,
nx: bool,
xx: bool,
gt: bool,
lt: bool
) → int
expireAt(
key: RedisArgument,
timestamp: number,
mode?: 'NX' | 'XX' | 'GT' | 'LT'
) → NumberReply
No method signature available for this client.
expireAt(
key: byte[],
unixTime: long // timestamp
) → long // 1 if the timeout was set, 0 otherwise
expireAt(
key: byte[],
unixTime: long, // timestamp
expiryOption: ExpiryOption // can be NX, XX, GT or LT
) → long // 1 if the timeout was set, 0 otherwise
expireAt(
key: String,
unixTime: long // timestamp
) → long // 1 if the timeout was set, 0 otherwise
expireAt(
key: String,
unixTime: long, // timestamp
expiryOption: ExpiryOption // can be NX, XX, GT or LT
) → long // 1 if the timeout was set, 0 otherwise
expireat(
key: K, // the key.
timestamp: long // the timestamp.
) → Boolean // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: long, // the timestamp.
expireArgs: ExpireArgs // the expiry arguments.
) → Boolean // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: Date // the timestamp.
) → Boolean // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: Date, // the timestamp.
expireArgs: ExpireArgs // the expiry arguments.
) → Boolean // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: Instant // the timestamp.
) → Boolean // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: Instant, // the timestamp.
expireArgs: ExpireArgs // the expiry arguments.
) → Boolean // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: long // the timestamp.
) → RedisFuture<Boolean> // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: long, // the timestamp.
expireArgs: ExpireArgs // the expiry arguments.
) → RedisFuture<Boolean> // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: Date // the timestamp.
) → RedisFuture<Boolean> // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: Date, // the timestamp.
expireArgs: ExpireArgs // the expiry arguments.
) → RedisFuture<Boolean> // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: long // the timestamp.
) → Mono<Boolean> // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
expireat(
key: K, // the key.
timestamp: long, // the timestamp.
expireArgs: ExpireArgs // the expiry arguments.
) → Mono<Boolean> // Boolean integer-reply specifically: true if the timeout was set. false if key does not exist or the timeout could not be set.
ExpireAt(
ctx: context.Context,
key: string,
tm: time.Time
) → *BoolCmd
KeyExpire(
key: RedisKey, // The key to set the expiration for.
expiry: DateTime?, // The exact date to expire at.
when: ExpireWhen, // In Redis 7+, we choose under which condition the expiration will be set using ExpireWhen.
flags: CommandFlags // The flags to use for this operation.
) → bool // true if the timeout was set. false if key does not exist or the timeout could not be set.
KeyExpireAsync(
key: RedisKey, // The key to set the expiration for.
expiry: DateTime?, // The exact date to expire at.
when: ExpireWhen, // In Redis 7+, we choose under which condition the expiration will be set using ExpireWhen.
flags: CommandFlags // The flags to use for this operation.
) → Task<bool> // true if the timeout was set. false if key does not exist or the timeout could not be set.
expireAt(
$key: string,
$timestamp: int,
$expireOption: string
) → int
expireat(
key: String,
unix_time: Integer, // expiry time specified as a UNIX timestamp
nx: Boolean, // Set expiry only when the key has no expiry.
xx: Boolean, // Set expiry only when the key has an existing expiry.
gt: Boolean, // Set expiry only when the new expiry is greater than current one.
lt: Boolean // Set expiry only when the new expiry is less than current one.
) → Boolean // whether the timeout was set or not
No method signature available for this client.
No method signature available for this client.