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

org.apache.hadoop.hive.common

## Interface Pool<T>

-     public interface Pool<T>

  Simple object pool to prevent GC on small objects passed between threads.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `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
    --- | ---
    `void` | `offer(T t)`
    `int` | `size()`
    `T` | `take()`

- - ### Method Detail

    - #### take

          T take()

    - #### offer

          void offer(T t)

    - #### size

          int size()

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