Interface ReleasableHolder<T>


public interface ReleasableHolder<T>
A holder of releasable resource ReleasableHolder.
  • Method Summary

    Modifier and Type Method Description
    T get()
    Returns the resource.
    void release()
    Releases the resource.
  • Method Details

    • get

      T get()
      Returns the resource.
    • release

      void release()
      Releases the resource.