public class ThreadLocalRecyclerFactory extends Object implements RecyclerFactory
Modifier and Type | Method and Description |
---|---|
<V> Recycler<V> |
create(Supplier<V> supplier,
Consumer<V> cleaner) |
static ThreadLocalRecyclerFactory |
getInstance() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public static ThreadLocalRecyclerFactory getInstance()
public <V> Recycler<V> create(Supplier<V> supplier, Consumer<V> cleaner)
create
in interface RecyclerFactory
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.