[ https://issues.apache.org/jira/browse/GEODE-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16373739#comment-16373739 ]
ASF subversion and git services commented on GEODE-3876: -------------------------------------------------------- Commit bf5b8022cbee51ab7cdf67a3027b481dd9f6e0f8 in geode's branch refs/heads/develop from [~dbarnes97] [ https://gitbox.apache.org/repos/asf?p=geode.git;h=bf5b802 ] Merge branch 'feature/GEODE-3876' into develop * feature/GEODE-3876: GEODE-3876: Document gfsh command for custom expiry > gfsh command for custom expiry > ------------------------------ > > Key: GEODE-3876 > URL: https://issues.apache.org/jira/browse/GEODE-3876 > Project: Geode > Issue Type: Sub-task > Components: docs, gfsh > Reporter: Swapnil Bawaskar > Priority: Major > Labels: pull-request-available > Fix For: 1.5.0 > > Time Spent: 3.5h > Remaining Estimate: 0h > > When creating or altering a region the ability to add custom expiration is > missing. > It would be great to have something like this: > {code:java} > alter/create region --name=regioName > [--entry-idle-time-custom-expiry=customExpiryImplementationClassName] > {code} > If the class implementing custom expiry also implements Declarable, we should > add support for passing parameters to the init method. > {code:java} > alter/create region --name=regionName > --entry-idle-time-custom-expiry=CustomExpiryImplementation{'k':'v','k2':'v2'} > {code} > The two options for custom expiry are: > {code} > --entry-idle-time-custom-expiry=value > --entry-time-to-live-custom-expiry=value > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)