public class ResourcePool<K,R>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ResourcePool.PoolItem<R> |
Constructor and Description |
---|
ResourcePool() |
Modifier and Type | Method and Description |
---|---|
void |
closeExpired(long currTime) |
R |
get(K key) |
protected long |
getCurrentTime() |
boolean |
isEmpty(K key) |
void |
put(K key,
R obj) |
void |
put(K key,
R resource,
long expireTimeMillis) |
long |
size(K key) |
Copyright © 2024 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com