Interface Expirable

  • All Known Implementing Classes:
    ExpirableResettableLazyCloseableReference, ExpirableResettableLazyReference

    public interface Expirable
    Classes relying on Bamboo expiration mechanisms ExpiryHandler should 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.
    • Method Detail

      • expire

        void expire()