T - the value typepublic class PoolableObject<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
long |
ageMs() |
long |
allocationAgeMs() |
T |
getAllocatedObject() |
Date |
getCreatedOn() |
void |
invalidate()
Releases the object from the pool and removes it.
|
void |
release()
Releases this Object back into the Pool allowing others to access it
|
public void release()
public void invalidate()
public long ageMs()
public long allocationAgeMs()
@NotNull public T getAllocatedObject()
public Date getCreatedOn()
Copyright © 2019–2024. All rights reserved.