org.omnaest.utils.store
Interface DirectoryBasedObjectStore<E>

Type Parameters:
E -
All Superinterfaces:
Collection<E>, Iterable<E>, List<E>, Serializable
All Known Implementing Classes:
DirectoryBasedObjectStoreUsingJAXB, DirectoryBasedObjectStoreUsingSerializable, DirectoryBasedObjectStoreUsingXStream

public interface DirectoryBasedObjectStore<E>
extends List<E>, Serializable

A DirectoryBasedObjectStore acts as List facade on a given directory structure. Every index position will be encoded into a file path.

E.g. the index position 1234 will be encoded into "1/2/3/4.dat".

Any element will then have a related file on the file system. The encoding depends on the implementation.

Author:
Omnaest

Method Summary
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 



Copyright © 2013. All Rights Reserved.