Class ThreadLocalRecyclerFactory
- java.lang.Object
-
- org.apache.logging.log4j.layout.template.json.util.ThreadLocalRecyclerFactory
-
- All Implemented Interfaces:
RecyclerFactory
public class ThreadLocalRecyclerFactory extends Object implements RecyclerFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> Recycler<V>
create(Supplier<V> supplier, Consumer<V> cleaner)
static ThreadLocalRecyclerFactory
getInstance()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.logging.log4j.layout.template.json.util.RecyclerFactory
create
-
-
-
-
Method Detail
-
getInstance
public static ThreadLocalRecyclerFactory getInstance()
-
create
public <V> Recycler<V> create(Supplier<V> supplier, Consumer<V> cleaner)
- Specified by:
create
in interfaceRecyclerFactory
-
-