Class SliceWithPagesSyncToDisk<A>

java.lang.Object
org.aksw.commons.io.slice.SliceBase<A>
org.aksw.commons.io.slice.SliceWithPagesSyncToDisk<A>
Type Parameters:
A - The collection type of what to store in the pages. Usually an an array such as Binding[] or byte[].
All Implemented Interfaces:
Slice<A>, SliceMetaDataBasic, SliceWithPages<A>, org.aksw.commons.io.util.Sync, PageHelper

public class SliceWithPagesSyncToDisk<A> extends SliceBase<A> implements SliceWithPages<A>
A file-based slice implementation. The is one metadata file and one 'content' file for each page. The metadata file holds the information about which ranges of data have been loaded in the content files. Whenever a set of pages is updated, the metadata needs to be updated as well.