クラス 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.SECONDSSE またはTimeUnit.MILLISECONDSSE になります。- 戻り値:
ReactiveHashCommands.HashExpireCommandの新しいインスタンス。
from
- パラメーター:
key- フィールドを期限切れにするキー。- 戻り値:
ReactiveHashCommands.HashExpireCommandの新しいインスタンス。
withOptions
- パラメーター:
options- コマンドとともに送信される追加オプション。- 戻り値:
ReactiveHashCommands.HashExpireCommandの新しいインスタンス。
getExpiration
getOptions