Modifier and Type | Method and Description |
---|---|
default void |
close()
等效于
txClose() |
void |
txClose()
提交事务
提交前需要执行
txSuccess() 或txFailure() 否则默认回滚 |
void |
txFailure()
|
long |
txId()
事务Id
|
boolean |
txIsFailure()
事务是否被标记为失败
|
boolean |
txIsOpen()
事务是否仍然存活
|
boolean |
txIsSuccess()
事务是否被标记为成功
|
void |
txSuccess()
|
affinities, affinity, beginTransaction, beginTransaction, broadcastCallable, broadcastCallable, broadcastRunnable, broadcastRunnable, clusterMachineSize, deleteEdge, deleteEdges, deleteVertex, deleteVertex, edgeIteratorFast, edgeIteratorFast, edgeIteratorFast, edgeTypeIndex, extend, fileObject, flushData, getAffinityById, getAffinityByPk, getAllEdgeCount, getAllVertexCount, getCombinedEdgeCount, getCombinedEdgeCount, getCypherId, getDegree, getEdgeCount, getEdgeCount, getEdgeCount, getGraphIndex, getGraphName, getMemoryTracker, getOrCreateGraphDbAtomicLong, getParallelContext, getPk, getSnowId, getTaskHandler, getVertexCount, getVertexCount, getVertexCount, getVertexes, getVertexIdByPk, getVertexIdByPk, getVertexIdByPk, getVertexIdByPkCompatible, getVertexIdByPkCompatible, getVertexIdByPkCompatible, hasVertex, insertEdgeByVertexId, insertVertexByPk, isStop, localAffinity, logger, meta, parKit, putPropertyValue, putPropertyValue, putPropertyValue, putPropertyValue, removePropertyValue, removePropertyValue, removePropertyValue, removePropertyValue, retrieveAllEdges, retrieveAllEdges, retrieveAllVertexes, retrieveAllVertexes, retrieveEdge, retrieveEdgeByVertexId, retrieveEdgeByVertexId, retrieveEdgeByVertexId, retrieveEdgeByVertexId, retrieveEdgeByVertexId, retrieveEdgeByVertexIdForAlgo, retrieveEdgeByVertexIdForAlgo, retrieveEdgeByVertexIdForAlgo, retrieveEdgeByVertexIdForAlgo, retrieveEdgeByVertexIdNoProps, retrieveEdgeCompatible, retrieveEdgeIteratorByVertexId, retrieveEdgeIteratorByVertexId, retrieveEdgeIteratorByVertexId, retrieveEdgeIteratorByVertexIdForAlgo, retrieveEdgeIteratorByVertexIdNoProps, retrieveLocalEdges, retrieveLocalEdges, retrieveLocalVertexes, retrieveLocalVertexes, retrieveNeighborIdIterator, retrieveOrInsertEdge, retrieveOrInsertVertex, retrieveVertex, retrieveVertexByPk, retrieveVertexByPkCompatible, retrieveVertexCompatible, searchEdgeProperty, searchEdgesByIndex, searchVertexesByIndex, searchVertexProperty, traversalDescription, updateEdge, updateEdge, updateVertex, updateVertex, upsertEdge, upsertEdge, upsertVertex, upsertVertex, vertexIteratorFast, vertexIteratorFast, vertexIteratorFast, vertexTypeIndex
void txClose()
txSuccess()
或txFailure()
否则默认回滚void txSuccess()
boolean txIsSuccess()
void txFailure()
boolean txIsOpen()
long txId()
boolean txIsFailure()
default void close() throws java.lang.Exception
txClose()
close
in interface java.lang.AutoCloseable
java.lang.Exception
- 关闭时发生异常