public class ResourcePool<K,R> extends java.lang.Object
protected static class
ResourcePool.PoolItem<R>
ResourcePool()
void
closeExpired(long currTime)
R
get(K key)
protected long
getCurrentTime()
boolean
isEmpty(K key)
put(K key, R obj)
put(K key, R resource, long expireTimeMillis)
long
size(K key)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ResourcePool()
public boolean isEmpty(K key)
public void put(K key, R resource, long expireTimeMillis)
public void put(K key, R obj)
public R get(K key)
public long size(K key)
protected long getCurrentTime()
public void closeExpired(long currTime)
Copyright (c) 2006-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. Complete online documentation for MarkLogic Server, XQuery and related components may be found at docs.progress.com