Interface ReleasableHolder<T>


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

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

    • get

      T get()
      Returns the resource.
    • release

      void release()
      Releases the resource.