クラス ReactiveHashCommands.HashExpireCommand
java.lang.ObjectSE
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveHashCommands.HashFieldsCommand
org.springframework.data.redis.connection.ReactiveHashCommands.HashExpireCommand
- 実装されているすべてのインターフェース:
ReactiveRedisConnection.Command
- 含まれているインターフェース:
- ReactiveHashCommands
public static class ReactiveHashCommands.HashExpireCommand
extends ReactiveHashCommands.HashFieldsCommand
- 導入:
- 3.5
メソッドのサマリー
修飾子と型メソッド説明expire
(ListSE<ByteBufferSE> fields, long timeout, TimeUnitSE unit) 新しいReactiveHashCommands.HashExpireCommand
を作成します。expire
(ListSE<ByteBufferSE> fields, DurationSE ttl) 新しいReactiveHashCommands.HashExpireCommand
を作成します。expire
(ListSE<ByteBufferSE> fields, Expiration expiration) 新しいReactiveHashCommands.HashExpireCommand
を作成します。expireAt
(ListSE<ByteBufferSE> fields, InstantSE ttl, TimeUnitSE precision) 新しいReactiveHashCommands.HashExpireCommand
を作成します。from
(ByteBufferSE key) withOptions
(ExpirationOptions options) クラス org.springframework.data.redis.connection.ReactiveHashCommands.HashFieldsCommand から継承されたメソッド
getFields
クラス org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand から継承されたメソッド
getKey
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.data.redis.connection.ReactiveRedisConnection.Command から継承されたメソッド
getName
メソッドの詳細
expire
public static ReactiveHashCommands.HashExpireCommand expire(ListSE<ByteBufferSE> fields, long timeout, TimeUnitSE unit) 新しいReactiveHashCommands.HashExpireCommand
を作成します。- パラメーター:
fields
- 有効期限を適用するfield
名timeout
- 実際のタイムアウトunit
-timeout
の測定単位。- 戻り値:
ReactiveHashCommands.HashExpireCommand
の新しいインスタンス。
expire
public static ReactiveHashCommands.HashExpireCommand expire(ListSE<ByteBufferSE> fields, DurationSE ttl) 新しいReactiveHashCommands.HashExpireCommand
を作成します。- パラメーター:
fields
- 有効期限を適用するfield
名。ttl
- 実際のタイムアウト。- 戻り値:
ReactiveHashCommands.HashExpireCommand
の新しいインスタンス。
expire
public static ReactiveHashCommands.HashExpireCommand expire(ListSE<ByteBufferSE> fields, Expiration expiration) 新しいReactiveHashCommands.HashExpireCommand
を作成します。- パラメーター:
fields
- 有効期限を適用するfield
名expiration
- 指定されたフィールドに適用するExpiration
。- 戻り値:
ReactiveHashCommands.HashExpireCommand
の新しいインスタンス。
expireAt
public static ReactiveHashCommands.HashExpireCommand expireAt(ListSE<ByteBufferSE> fields, InstantSE ttl, TimeUnitSE precision) 新しいReactiveHashCommands.HashExpireCommand
を作成します。- パラメーター:
fields
- 有効期限を適用するfield
名ttl
- 指定されたフィールドが期限切れになる Unix ポイントの時点。precision
-TimeUnit.SECONDS
SE またはTimeUnit.MILLISECONDS
SE になります。- 戻り値:
ReactiveHashCommands.HashExpireCommand
の新しいインスタンス。
from
- パラメーター:
key
- フィールドを期限切れにするキー。- 戻り値:
ReactiveHashCommands.HashExpireCommand
の新しいインスタンス。
withOptions
- パラメーター:
options
- コマンドとともに送信される追加オプション。- 戻り値:
ReactiveHashCommands.HashExpireCommand
の新しいインスタンス。
getExpiration
getOptions