ArrayMap<Integer, PropertyData> deleteRelationship(RelationshipImpl rel, TransactionState tx) { deleteFromTrackers(rel, relationshipPropertyTrackers); tx.deletePrimitive(rel); return persistenceManager.relDelete(rel.getId()); // remove in rel cache done via event }
ArrayMap<Integer, PropertyData> deleteNode(NodeImpl node, TransactionState tx) { deleteFromTrackers(node, nodePropertyTrackers); tx.deletePrimitive(node); return persistenceManager.nodeDelete(node.getId()); // remove from node cache done via event }