Interface ResetAbandonedTimerMBean

  • All Known Implementing Classes:
    ResetAbandonedTimer

    public interface ResetAbandonedTimerMBean
    MBean interface for the ResetAbandonedTimer connection pool interceptor.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean resetTimer()
      Reset the abandoned timer of the pooled connection this interceptor is bound to, while that connection is checked out.
    • Method Detail

      • resetTimer

        boolean resetTimer()
        Reset the abandoned timer of the pooled connection this interceptor is bound to, while that connection is checked out. For a connection sitting idle in the pool the operation resets nothing - the abandoned timer is a property of a borrow, and the timestamp it moves is the age the idle check releases a connection by (PoolConfiguration.setMinEvictableIdleTimeMillis(int)), so the operation cannot postpone that release either.
        Returns:
        True if the timer was reset, false if the connection bound to this interceptor is not currently checked out - including a connection idle in the pool and one this interceptor has been unbound from