Class PoolStatistics


  • public class PoolStatistics
    extends Object
    Contains utilization and resource usage statistics for the lifetime of a Pool.
    • Constructor Detail

      • PoolStatistics

        public PoolStatistics()
    • Method Detail

      • url

        public String url()
        Get the url value.
        Returns:
        the url value
      • withUrl

        public PoolStatistics withUrl​(String url)
        Set the url value.
        Parameters:
        url - the url value to set
        Returns:
        the PoolStatistics object itself.
      • startTime

        public org.joda.time.DateTime startTime()
        Get the startTime value.
        Returns:
        the startTime value
      • withStartTime

        public PoolStatistics withStartTime​(org.joda.time.DateTime startTime)
        Set the startTime value.
        Parameters:
        startTime - the startTime value to set
        Returns:
        the PoolStatistics object itself.
      • lastUpdateTime

        public org.joda.time.DateTime lastUpdateTime()
        Get the lastUpdateTime value.
        Returns:
        the lastUpdateTime value
      • withLastUpdateTime

        public PoolStatistics withLastUpdateTime​(org.joda.time.DateTime lastUpdateTime)
        Set the lastUpdateTime value.
        Parameters:
        lastUpdateTime - the lastUpdateTime value to set
        Returns:
        the PoolStatistics object itself.
      • usageStats

        public UsageStatistics usageStats()
        Get the usageStats value.
        Returns:
        the usageStats value
      • withUsageStats

        public PoolStatistics withUsageStats​(UsageStatistics usageStats)
        Set the usageStats value.
        Parameters:
        usageStats - the usageStats value to set
        Returns:
        the PoolStatistics object itself.
      • resourceStats

        public ResourceStatistics resourceStats()
        Get the resourceStats value.
        Returns:
        the resourceStats value
      • withResourceStats

        public PoolStatistics withResourceStats​(ResourceStatistics resourceStats)
        Set the resourceStats value.
        Parameters:
        resourceStats - the resourceStats value to set
        Returns:
        the PoolStatistics object itself.