Interface ResourcePool.Manager

  • Enclosing interface:
    ResourcePool

    public static interface ResourcePool.Manager
    • Method Detail

      • acquireResource

        java.lang.Object acquireResource()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • refurbishIdleResource

        void refurbishIdleResource​(java.lang.Object resc)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • refurbishResourceOnCheckout

        void refurbishResourceOnCheckout​(java.lang.Object resc)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • refurbishResourceOnCheckin

        void refurbishResourceOnCheckin​(java.lang.Object resc)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • destroyResource

        void destroyResource​(java.lang.Object resc,
                             boolean checked_out)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception