Modifier | Constructor and Description |
---|---|
protected |
ConcurrentBucketsPool(int numberOfBuckets,
int initBucketSize,
int maxBucketSize,
PoolableProvider<T> poolableProvider) |
Modifier and Type | Method and Description |
---|---|
void |
clean() |
T |
getObject() |
int |
getObjectsCreated() |
void |
returnObject(T object) |
String |
toString() |
protected ConcurrentBucketsPool(int numberOfBuckets, int initBucketSize, int maxBucketSize, PoolableProvider<T> poolableProvider)
public void returnObject(T object)
returnObject
in interface Pool<T>
public int getObjectsCreated()
getObjectsCreated
in interface Pool<T>
Copyright © 2000–2022 EPAM Systems. All rights reserved.