Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
When creating or altering a region the ability to add custom expiration is missing.
It would be great to have something like this:
alter/create region --name=regioName [--entry-idle-time-custom-expiry=customExpiryImplementationClassName]
If the class implementing custom expiry also implements Declarable, we should add support for passing parameters to the init method.
alter/create region --name=regionName --entry-idle-time-custom-expiry=CustomExpiryImplementation{'k':'v','k2':'v2'}
The two options for custom expiry are:
--entry-idle-time-custom-expiry=value --entry-time-to-live-custom-expiry=value