com.marklogic.io

## Class ResourcePool.PoolItem<R>

- java.lang.Object
- - com.marklogic.io.ResourcePool.PoolItem<R>

- Enclosing class:
    ResourcePool<K,R>

      protected static class ResourcePool.PoolItem<R>
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PoolItem(R item, long expireTime)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `R` | `getValue()`
    `boolean` | `hasExpired(long currTime)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PoolItem

          public PoolItem(R item,
                          long expireTime)

  - ### Method Detail

    - #### getValue

          public R getValue()

    - #### hasExpired

          public boolean hasExpired(long currTime)

    - #### close

          public void close()

Copyright © 2025 MarkLogic Corporation

Complete online documentation for MarkLogic Server, XQuery and related components may be found at docs.progress.com