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. All Rights Reserved.

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