Interface TrackedUse


  • public interface TrackedUse
    This interface allows pooled objects to make information available about when and how they were used available to the object pool. The object pool may, but is not required, to use this information to make more informed decisions when determining the state of a pooled object - for instance whether or not the object has been abandoned.
    Since:
    2.0
    Version:
    $Revision:$
    • Method Detail

      • getLastUsed

        long getLastUsed()
        Get the last time this object was used in ms.
        Returns:
        long time in ms