|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tinkerpop.blueprints.impls.tg.TinkerGraph
com.tinkerpop.rexster.util.MockTinkerTransactionalGraph
public class MockTinkerTransactionalGraph
Mocked transactional graph for testing purposes.
This class doesn't really do anything Transactional.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tinkerpop.blueprints.impls.tg.TinkerGraph |
---|
com.tinkerpop.blueprints.impls.tg.TinkerGraph.TinkerKeyIndex<T extends com.tinkerpop.blueprints.impls.tg.TinkerElement> |
Nested classes/interfaces inherited from interface com.tinkerpop.blueprints.TransactionalGraph |
---|
com.tinkerpop.blueprints.TransactionalGraph.Conclusion |
Field Summary |
---|
Fields inherited from class com.tinkerpop.blueprints.impls.tg.TinkerGraph |
---|
edgeKeyIndex, edges, indices, vertexKeyIndex, vertices |
Constructor Summary | |
---|---|
MockTinkerTransactionalGraph()
|
|
MockTinkerTransactionalGraph(String directory)
|
Method Summary | |
---|---|
int |
getCurrentBufferSize()
|
int |
getMaxBufferSize()
|
void |
setMaxBufferSize(int maxBufferSize)
|
void |
startTransaction()
|
void |
stopTransaction(com.tinkerpop.blueprints.TransactionalGraph.Conclusion conclusion)
|
Methods inherited from class com.tinkerpop.blueprints.impls.tg.TinkerGraph |
---|
addEdge, addVertex, clear, createIndex, createKeyIndex, dropIndex, dropKeyIndex, getEdge, getEdges, getEdges, getFeatures, getIndex, getIndexedKeys, getIndices, getVertex, getVertices, getVertices, removeEdge, removeVertex, shutdown, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.tinkerpop.blueprints.TransactionalGraph |
---|
shutdown |
Methods inherited from interface com.tinkerpop.blueprints.Graph |
---|
addEdge, addVertex, getEdge, getEdges, getEdges, getFeatures, getVertex, getVertices, getVertices, removeEdge, removeVertex |
Constructor Detail |
---|
public MockTinkerTransactionalGraph(String directory)
public MockTinkerTransactionalGraph()
Method Detail |
---|
public void startTransaction()
startTransaction
in interface com.tinkerpop.blueprints.TransactionalGraph
public void stopTransaction(com.tinkerpop.blueprints.TransactionalGraph.Conclusion conclusion)
stopTransaction
in interface com.tinkerpop.blueprints.TransactionalGraph
public void setMaxBufferSize(int maxBufferSize)
public int getCurrentBufferSize()
public int getMaxBufferSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |