public interface ObjectPoolEntry<T> extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Release the pooled object and puts back to the pool where is was borrowed
from.
|
T |
getPooledObject()
Gets the object which is pooled.
|
T getPooledObject()
void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
Copyright © 2022. All rights reserved.