public interface CustomExpiry<K,V> extends CacheCallback
custom-expiryelement must honor. It determines the expiration characteristics for a specific entry in a region.
Note that if you wish to refer to an implementation of this interface in XML, the implementation must also implement the Declarable interface.
ExpirationAttributes getExpiry(Region.Entry<K,V> entry)
The entry parameter should not be used after this method invocation completes.
entry- the entry to calculate the expiration for
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.