BundleInMemPersistenceManager
is a
HashMap
-based
PersistenceManager
for Jackrabbit that keeps all data in memory and that is capable of storing and loading its contents using a simple custom binary serialization format (see {@link Serializer}).
It is configured through the following properties:
initialCapacity
: initial capacity of the hash map used to store the data loadFactor
: load factor of the hash map used to store the data persistent
: if true
the contents of the hash map is loaded on startup and stored on shutdown; if false
nothing is persisted useFileBlobStore
: if true
the contents of the blobs will be directly stored on the file system instead of in memory. minBlobSize
use blob store for binaries properties larger than minBlobSite (bytes). Default is 4096.
Please note that this class should only be used for testing purposes.