Interface SharedResourceHolder.Resource<T>

  • Enclosing class:
    SharedResourceHolder

    public static interface SharedResourceHolder.Resource<T>
    Defines a resource, and the way to create and destroy instances of it.
    • Method Detail

      • create

        T create()
        Create a new instance of the resource.
      • close

        void close​(T instance)
        Destroy the given instance.