Package org.n52.iceland.util
Class LazyClosingThreadSafeProducer<T>
java.lang.Object
org.n52.iceland.util.LazyClosingThreadSafeProducer<T>
- All Implemented Interfaces:
com.google.common.base.Supplier<T>,jakarta.inject.Provider<T>,Supplier<T>,Destroyable,Producer<T>
public abstract class LazyClosingThreadSafeProducer<T>
extends Object
implements Producer<T>, Destroyable
-
Constructor Details
-
LazyClosingThreadSafeProducer
public LazyClosingThreadSafeProducer()
-
-
Method Details
-
setRecreate
protected void setRecreate() -
get
-
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-
create
- Throws:
ConfigurationError
-
close
-