public class EngineGraknTxFactory extends Object
Engine's internal GraknTx Factory
This internal factory is used to produce GraknTxs.
| Modifier and Type | Method and Description |
|---|---|
GraknConfig |
config() |
static EngineGraknTxFactory |
create(LockProvider lockProvider,
GraknConfig engineConfig,
KeyspaceStore keyspaceStore) |
KeyspaceStore |
keyspaceStore() |
void |
refreshConnections() |
EmbeddedGraknTx<?> |
tx(ai.grakn.Keyspace keyspace,
ai.grakn.GraknTxType type) |
public static EngineGraknTxFactory create(LockProvider lockProvider, GraknConfig engineConfig, KeyspaceStore keyspaceStore)
public void refreshConnections()
public EmbeddedGraknTx<?> tx(ai.grakn.Keyspace keyspace, ai.grakn.GraknTxType type)
public GraknConfig config()
public KeyspaceStore keyspaceStore()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.