Package glide.api.models.commands
Class SetOptions
- java.lang.Object
-
- glide.api.models.commands.SetOptions
-
public final class SetOptions extends java.lang.ObjectOptional arguments forStringBaseCommands.set(String, String, SetOptions)command.- See Also:
- valkey.io
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSetOptions.ConditionalSetConditions which define whether new value should be set or not.static classSetOptions.ExpiryConfiguration of value lifetime.protected static classSetOptions.ExpiryTypeTypes of value expiration configuration.static classSetOptions.SetOptionsBuilderBuilder class forSetOptions.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRETURN_OLD_VALUEString representation ofreturnOldValuewhen set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetOptions.SetOptionsBuilderbuilder()java.lang.String[]toArgs()Converts SetOptions into a String[] to add to aCommandRequestOuterClass.Commandarguments.
-
-
-
Field Detail
-
RETURN_OLD_VALUE
public static final java.lang.String RETURN_OLD_VALUE
String representation ofreturnOldValuewhen set.- See Also:
- Constant Field Values
-
-
Method Detail
-
toArgs
public java.lang.String[] toArgs()
Converts SetOptions into a String[] to add to aCommandRequestOuterClass.Commandarguments.- Returns:
- String[]
-
builder
public static SetOptions.SetOptionsBuilder builder()
-
-