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.space; //from w w w .ja v a 2 s .co m import com.atteo.jello.Record; public interface SpaceManagerPolicy { public static int ACQUIRE_FAILED = -1; public int acquirePage(); public boolean acquireRecord(Record record, int length); public void commit(); public void create(); public boolean isPageUsed(int id); public boolean load(); public boolean reacquireRecord(Record record, int length); public void releasePage(int id); public void releaseRecord(Record record); public void setPageUsed(int id, boolean used); }