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(Keyspace keyspace,
String engineUrl,
Properties properties) |
static void |
refresh()
Clears all connections.
|
public static TxFactory<?> getFactory(Keyspace keyspace, String engineUrl, Properties properties)
public static void refresh()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.