public interface Expirable
ExpiryHandlershould implement it. When this method is called, the object should perform resource cleanup (flush/close handles/connections, release memory that can be released etc). It does not mean that the object will be garbage collected, it may still be strongly reachable and accessed again, depending on your use case.
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.