public class DefaultMountContentPool extends RecyclePool implements MountContentPool
MountContentPool used for mount content unless your MountSpec
 implements @OnCreateMountContentPool.| Constructor and Description | 
|---|
DefaultMountContentPool(String name,
                       int maxSize,
                       boolean sync)  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
acquire()  | 
Object | 
acquire(Context c,
       ComponentLifecycle lifecycle)
Return a recycled mount content, or a newly acquired mount content if there isn't one to
 recycle. 
 | 
void | 
maybePreallocateContent(Context c,
                       ComponentLifecycle lifecycle)
Pre-allocates one item for the given ComponentLifecycle if the preallocation count is less than
 the pool size, otherwise does nothing. 
 | 
clear, getCurrentSize, getMaxSize, getName, isFull, releaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreleasegetCurrentSize, getMaxSize, getNamepublic DefaultMountContentPool(String name, int maxSize, boolean sync)
public Object acquire(Context c, ComponentLifecycle lifecycle)
MountContentPoolNB: This can be called from multiple threads, possibly at the same time!
acquire in interface MountContentPoolpublic final Object acquire()
acquire in class RecyclePoolpublic void maybePreallocateContent(Context c,
                                    ComponentLifecycle lifecycle)
maybePreallocateContent in interface MountContentPool