Details
Description
This makes it easier for people to turn persistence on/off.
Either provide a .ZERO constant, or check for those arguments to be null
i.e.
ft = cli.set(options.key,
options.expiry,
options.value,
null,
null);
Currently this throws an NPE
Either provide a .ZERO constant, or check for those arguments to be null
i.e.
ft = cli.set(options.key,
options.expiry,
options.value,
null,
null);
Currently this throws an NPE
I think that is less confusing that set(key, expiry, value, null, null)
I agree that the NPE will need to be fixed.