@@ -31,6 +31,66 @@ public SetParams xx() {
31
31
return this ;
32
32
}
33
33
34
+ /**
35
+ * Set the specified expire time, in seconds.
36
+ * @param remainingSeconds
37
+ * @return SetParams
38
+ */
39
+ @ Override
40
+ public SetParams ex (long remainingSeconds ) {
41
+ return super .ex (remainingSeconds );
42
+ }
43
+
44
+ /**
45
+ * Set the specified expire time, in milliseconds.
46
+ * @param remainingMilliseconds
47
+ * @return SetParams
48
+ */
49
+ @ Override
50
+ public SetParams px (long remainingMilliseconds ) {
51
+ return super .px (remainingMilliseconds );
52
+ }
53
+
54
+ /**
55
+ * Set the specified Unix time at which the key will expire, in seconds.
56
+ * @param timestampSeconds
57
+ * @return SetParams
58
+ */
59
+ @ Override
60
+ public SetParams exAt (long timestampSeconds ) {
61
+ return super .exAt (timestampSeconds );
62
+ }
63
+
64
+ /**
65
+ * Set the specified Unix time at which the key will expire, in milliseconds.
66
+ * @param timestampMilliseconds
67
+ * @return SetParams
68
+ */
69
+ @ Override
70
+ public SetParams pxAt (long timestampMilliseconds ) {
71
+ return super .pxAt (timestampMilliseconds );
72
+ }
73
+
74
+ /**
75
+ * Retain the time to live associated with the key.
76
+ *
77
+ * @deprecated Since 6.1.0 use {@link #keepTtl()} instead.
78
+ * @return SetParams
79
+ */
80
+ @ Override
81
+ public SetParams keepttl () {
82
+ return keepTtl ();
83
+ }
84
+
85
+ /**
86
+ * Retain the time to live associated with the key.
87
+ * @return SetParams
88
+ */
89
+ @ Override
90
+ public SetParams keepTtl () {
91
+ return super .keepTtl ();
92
+ }
93
+
34
94
@ Override
35
95
public void addParams (CommandArguments args ) {
36
96
if (existance != null ) {
0 commit comments