public class FactoryBuilder extends Object
Builds a TxFactory
Builds a TxFactory which is locked to a specific keyspace and engine URL.
This uses refection in order to dynamically build any vendor specific factory which implements the
TxFactory API.
The factories in this class are treated as singletons.
| Modifier and Type | Method and Description |
|---|---|
static TxFactory<?> |
getFactory(GraknSession session,
boolean isComputerFactory) |
static void |
refresh()
Clears all connections.
|
public static TxFactory<?> getFactory(GraknSession session, boolean isComputerFactory)
public static void refresh()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.