public abstract class LazyClosingThreadSafeProducer<T> extends Object implements Producer<T>, Destroyable
| Constructor and Description |
|---|
LazyClosingThreadSafeProducer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
close(T object) |
protected abstract T |
create() |
void |
destroy() |
T |
get() |
protected void |
setRecreate() |
protected void setRecreate()
public T get() throws ConfigurationError
public void destroy()
destroy in interface Destroyableprotected abstract T create() throws ConfigurationError
ConfigurationErrorprotected abstract void close(T object)
Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.