@ParametersAreNonnullByDefault public class DefaultInMemoryBackend extends AbstractInMemoryBackend
InMemoryBackend
that stores all elements in Map
s.
This Backend
is semi-transient and used when a PersistentEObject
is attached to a Resource
that is not persistent.
AbstractInMemoryBackend.Sizes
SERIALIZER_FACTORY
Constructor and Description |
---|
DefaultInMemoryBackend()
Constructs a new
DefaultInMemoryBackend . |
Modifier and Type | Method and Description |
---|---|
protected Map<Id,SingleFeatureBean> |
containers()
Returns the map that holds all containers.
|
protected Map<SingleFeatureBean,Object> |
features()
Returns the map that holds single-features.
|
protected Map<Id,ClassBean> |
instances()
Returns the map that holds all instances.
|
protected void |
internalClose()
Cleanly closes the database, and releases any system resources associated with it.
|
allInstancesOf, checkFeature, containerFor, containerOf, internalSave, metaClassFor, metaClassOf, referenceConverter, removeContainer, removeValue, valueFor, valueOf
allInstancesOf, close, copyTo, internalCopyTo, save, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDistributed, isPersistent
allInstancesOf
addAllValues, addValue, allValuesOf, appendAllValues, appendValue, removeAllValues, removeValue, sizeOfValue, valueFor, valueOf
addAllReferences, addReference, allReferencesOf, appendAllReferences, appendReference, referenceFor, referenceOf, removeAllReferences, removeReference, sizeOfReference
referenceFor, referenceOf, removeReference
addAllValues, addValue, allValuesOf, getOrCreateList, removeAllValues, removeValue, sizeOfValue, valueFor, valueOf
manyReferenceConverter
referenceFor, referenceOf, removeReference
addAllReferences, addReference, allReferencesOf, appendAllReferences, appendReference, referenceFor, referenceOf, removeAllReferences, removeReference, sizeOfReference
public DefaultInMemoryBackend()
DefaultInMemoryBackend
.protected void internalClose()
AbstractBackend
internalClose
in class AbstractBackend
@Nonnull protected Map<Id,SingleFeatureBean> containers()
AbstractInMemoryBackend
containers
in class AbstractInMemoryBackend
@Nonnull protected Map<Id,ClassBean> instances()
AbstractInMemoryBackend
instances
in class AbstractInMemoryBackend
@Nonnull protected Map<SingleFeatureBean,Object> features()
AbstractInMemoryBackend
features
in class AbstractInMemoryBackend
Copyright © 2013–2019 Atlanmod. All rights reserved.