public class BlueprintsAwareHandler extends AbstractBlueprintsHandler
PersistenceHandler for BlueprintsPersistenceBackends.
This handler has a key conflicts resolution feature, but it consumes much more memory than a handler without conflicts resolution. Make sure you have enough memory to avoid heap space.
verticesCacheDEFAULT_CACHE_SIZE| Modifier | Constructor and Description |
|---|---|
protected |
BlueprintsAwareHandler(BlueprintsPersistenceBackend backend)
Constructs a new
BlueprintsAwareHandler on the given backend. |
| Modifier and Type | Method and Description |
|---|---|
protected Vertex |
createVertex(Id id)
Creates a
Vertex identified by the specified id. |
protected Vertex |
getVertex(Id id)
Returns the
Vertex which has the specified id. |
addAttribute, addElement, addReference, getId, processStartDocument, setMetaClasscreateElement, getOrCreateMetaClass, getPersistenceBackend, processAttribute, processCharacters, processEndDocument, processEndElement, processReference, processStartElementprotected BlueprintsAwareHandler(BlueprintsPersistenceBackend backend)
BlueprintsAwareHandler on the given backend.backend - the back-end where to store dataprotected Vertex getVertex(Id id)
AbstractBlueprintsHandlerVertex which has the specified id.getVertex in class AbstractBlueprintsHandlerid - the identifier of the vertexVertexprotected Vertex createVertex(Id id)
AbstractBlueprintsHandlerVertex identified by the specified id.createVertex in class AbstractBlueprintsHandlerid - the identifier of the vertexVertexCopyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.