Class PoolConfiguration

    • Constructor Detail

      • PoolConfiguration

        public PoolConfiguration()
    • Method Detail

      • getMaxObjectCount

        public int getMaxObjectCount()
      • setMaxObjectCount

        public void setMaxObjectCount​(int maxObjectCount)
      • getMaxAvailableObjectCount

        public int getMaxAvailableObjectCount()
      • setMaxAvailableObjectCount

        public void setMaxAvailableObjectCount​(int maxAvailableObjectCount)
      • getAvailableObjectExpirationPeriod

        public int getAvailableObjectExpirationPeriod()
      • setAvailableObjectExpirationPeriod

        public void setAvailableObjectExpirationPeriod​(int availableObjectExpirationPeriod)
      • getAvailableObjectExpirationCheckPeriod

        public int getAvailableObjectExpirationCheckPeriod()
      • setAvailableObjectExpirationCheckPeriod

        public void setAvailableObjectExpirationCheckPeriod​(int availableObjectExpirationCheckPeriod)
      • getValidateOnCheckOut

        public boolean getValidateOnCheckOut()
      • setValidateOnCheckOut

        public void setValidateOnCheckOut​(boolean validateOnCheckOut)
      • getValidateOnCheckIn

        public boolean getValidateOnCheckIn()
      • setValidateOnCheckIn

        public void setValidateOnCheckIn​(boolean validateOnCheckIn)
      • getValidationInterval

        public long getValidationInterval()
      • setValidationInterval

        public PoolConfiguration setValidationInterval​(long validationInterval)
      • getLeaseCheckPeriod

        public int getLeaseCheckPeriod()
      • setLeaseCheckPeriod

        public void setLeaseCheckPeriod​(int leaseDurationCheckPeriod)
      • setReclaimAction

        public void setReclaimAction​(ReclaimAction reclaimAction)
      • getMaxLeasePeriod

        public int getMaxLeasePeriod()
      • setMaxLeasePeriod

        public void setMaxLeasePeriod​(int maxLeasePeriod)
      • getAbandonedObjectTimeout

        public int getAbandonedObjectTimeout()
      • setAbandonedObjectTimeout

        public void setAbandonedObjectTimeout​(int abandonedObjectTimeout)
      • getOnlyReclaimWhenAbandonedAndExpired

        public boolean getOnlyReclaimWhenAbandonedAndExpired()
      • setOnlyReclaimWhenAbandonedAndExpired

        public void setOnlyReclaimWhenAbandonedAndExpired​(boolean onlyReclaimWhenAbandonedAndExpired)
      • getKeepCallerTrace

        public boolean getKeepCallerTrace()
        Returns whether a stack trace of the thread checking out an object should be kept.
        Returns:
        whether a stack trace of the thread checking out an object should be kept
      • setKeepCallerTrace

        public void setKeepCallerTrace​(boolean keepCallerTrace)
        Sets whether a stack trace of the thread checking out an object should be kept.
        Parameters:
        keepCallerTrace - whether a stack trace of the thread checking out an object should be kept