Interface PoolStatus


public interface PoolStatus
Current status of the DataSourcePool.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return number of busy connections.
    int
    Return number of free connections.
    default int
    Deprecated.
    default int
    Deprecated.
    default int
    Deprecated.
    default int
    Deprecated.
    default int
    Deprecated.
    default int
    Deprecated.
    default int
    Deprecated.
    default int
    Deprecated.
    int
    Return the busy connection high water mark.
    int
    Return the hit count against the pool.
    int
    Return the pools maximum size.
    int
    Return the pools minimum size.
    int
    Return the number of times threads had to wait for connections.
    int
    Return the number of threads waiting for connections.
  • Method Details

    • minSize

      int minSize()
      Return the pools minimum size.
    • getMinSize

      @Deprecated default int getMinSize()
      Deprecated.
      Deprecated migrate to minSize()
    • maxSize

      int maxSize()
      Return the pools maximum size.
    • getMaxSize

      @Deprecated default int getMaxSize()
      Deprecated.
      Deprecated migrate to maxSize()
    • free

      int free()
      Return number of free connections.
    • getFree

      @Deprecated default int getFree()
      Deprecated.
      Deprecated migrate to free()
    • busy

      int busy()
      Return number of busy connections.
    • getBusy

      @Deprecated default int getBusy()
      Deprecated.
      Deprecated migrate to busy()
    • waiting

      int waiting()
      Return the number of threads waiting for connections.
    • getWaiting

      @Deprecated default int getWaiting()
      Deprecated.
      Deprecated migrate to waiting()
    • highWaterMark

      int highWaterMark()
      Return the busy connection high water mark.
    • getHighWaterMark

      @Deprecated default int getHighWaterMark()
      Deprecated.
      Deprecated migrate to waiting()
    • waitCount

      int waitCount()
      Return the number of times threads had to wait for connections.
    • getWaitCount

      @Deprecated default int getWaitCount()
      Deprecated.
      Deprecated migrate to waitCount()
    • hitCount

      int hitCount()
      Return the hit count against the pool.
    • getHitCount

      @Deprecated default int getHitCount()
      Deprecated.
      Deprecated migrate to hitCount()