public class ParserPoolImpl extends java.lang.Object implements ParserPool
Modifier and Type | Field and Description |
---|---|
(package private) org.slf4j.Logger |
log |
(package private) int |
max |
(package private) SimplePool |
pool |
Constructor and Description |
---|
ParserPoolImpl() |
Modifier and Type | Method and Description |
---|---|
Parser |
get()
Call the wrapped pool.
|
void |
initialize(RuntimeServices rsvc)
Create the underlying "pool".
|
void |
put(Parser parser)
Call the wrapped pool.
|
SimplePool pool
int max
org.slf4j.Logger log
public void initialize(RuntimeServices rsvc)
initialize
in interface ParserPool
rsvc
- public Parser get()
get
in interface ParserPool
public void put(Parser parser)
put
in interface ParserPool
parser
-