Back to project page Jello.
The source code is released under:
Apache License
If you think the Android project Jello listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.atteo.jello.index; // www.j a v a 2 s . c om import android.util.Pool; import com.atteo.jello.store.Page; import com.google.inject.Inject; public class PagePoolProxy { private final Pool<Page> pagePool; @Inject PagePoolProxy(final Pool<Page> pagePool) { this.pagePool = pagePool; } Page acquire() { return pagePool.acquire(); } void release(final Page page) { pagePool.release(page); } }