| Modifier and Type | Method and Description |
|---|---|
static SetArgs |
ex(long timeout)
Creates new
SetArgs and enabling EX. |
static SetArgs |
nx()
Creates new
SetArgs and enabling NX. |
static SetArgs |
px(long timeout)
Creates new
SetArgs and enabling PX. |
static SetArgs |
xx()
Creates new
SetArgs and enabling XX. |
public static SetArgs ex(long timeout)
SetArgs and enabling EX.timeout - expire time in seconds.SetArgs with EX enabled.SetArgs.ex(long)public static SetArgs px(long timeout)
SetArgs and enabling PX.timeout - expire time in milliseconds.SetArgs with PX enabled.SetArgs.px(long)public static SetArgs nx()
SetArgs and enabling NX.SetArgs with NX enabled.SetArgs.nx()public static SetArgs xx()
SetArgs and enabling XX.SetArgs with XX enabled.SetArgs.xx()Copyright © 2019 lettuce.io. All rights reserved.