Pool.PoolObjectHelper (Hive Storage API 2.1.1-pre-orc API)
Date: 2016-10-19

org.apache.hadoop.hive.common

## Interface Pool.PoolObjectHelper<T>

- Enclosing interface:
    Pool<T>

      public static interface Pool.PoolObjectHelper<T>

  Object helper for objects stored in the pool.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `create()` Called to create an object when one cannot be provided.
    `void` | `resetBeforeOffer(T t)` Called before the object is put in the pool (regardless of whether put succeeds).

- - ### Method Detail

    - #### create

          T create()

      Called to create an object when one cannot be provided.

    - #### resetBeforeOffer

          void resetBeforeOffer(T t)

      Called before the object is put in the pool (regardless of whether put succeeds).

Copyright © 2016 The Apache Software Foundation. All rights reserved.