public abstract static class RecyclerPool.StatefulImplBase<P extends RecyclerPool.WithPool<P>> extends Object implements RecyclerPool<P>
RecyclerPool.BoundedPoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.ConcurrentDequePoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.LockFreePoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.NonRecyclingPoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.StatefulImplBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.ThreadLocalPoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.WithPool<P extends RecyclerPool.WithPool<P>>
Modifier and Type | Field and Description |
---|---|
protected int |
_serialization
Value that indicates basic aspects of pool for JDK serialization;
either marker for shared/non-shared, or possibly bounded size;
depends on sub-class.
|
static int |
SERIALIZATION_NON_SHARED |
static int |
SERIALIZATION_SHARED |
Modifier | Constructor and Description |
---|---|
protected |
StatefulImplBase(int serialization) |
Modifier and Type | Method and Description |
---|---|
protected Optional<RecyclerPool.StatefulImplBase<P>> |
_resolveToShared(RecyclerPool.StatefulImplBase<P> shared) |
abstract P |
createPooled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acquireAndLinkPooled, acquirePooled, clear, pooledCount, releasePooled
public static final int SERIALIZATION_SHARED
public static final int SERIALIZATION_NON_SHARED
protected final int _serialization
protected Optional<RecyclerPool.StatefulImplBase<P>> _resolveToShared(RecyclerPool.StatefulImplBase<P> shared)
public abstract P createPooled()
Copyright © 2008–2024 FasterXML. All rights reserved.