T
- the pooled resource typepublic interface Pooled<T> extends AutoCloseable
void discard()
void free()
discard()
instead.T getResource() throws IllegalStateException
IllegalStateException
- if the resource has been freed or discarded alreadyvoid close()
free()
.close
in interface AutoCloseable
Copyright © 2015. All rights reserved.