Class SizedSafeCloseable<T extends SafeCloseable>

java.lang.Object
io.deephaven.engine.table.impl.util.SizedSafeCloseable<T>
All Implemented Interfaces:
SafeCloseable, AutoCloseable

public final class SizedSafeCloseable<T extends SafeCloseable> extends Object implements SafeCloseable
  • Constructor Details

    • SizedSafeCloseable

      public SizedSafeCloseable(IntFunction<T> supplier)
  • Method Details

    • get

      public T get()
    • ensureCapacity

      public T ensureCapacity(int capacity)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface SafeCloseable