Class AbstractPool<T>

    • Method Detail

      • getCreateCount

        public int getCreateCount()
        Specified by:
        getCreateCount in interface Pool<T>
      • getRemoveCount

        public int getRemoveCount()
        Specified by:
        getRemoveCount in interface Pool<T>
      • setMaxSize

        public abstract void setMaxSize​(int maxSize)
        Specified by:
        setMaxSize in interface Pool<T>
      • create

        protected T create()
      • remove

        @Deprecated
        protected void remove​(T bean)
        Deprecated.
      • destroy

        protected void destroy​(T bean)
      • doRemove

        protected void doRemove​(T bean)
        Remove the bean context and invoke any callbacks and track the remove count
        Parameters:
        bean -