public class SqlGraphProvider extends Object implements GraphProvider
That said, its main use is for checking the correct transactional behavior of Hawkular, because especially H2 seems to be quite sensitive about accessing ResultSets of closed transactions etc, which is a great testbed for Hawkular's manual transaction handling.
| Constructor and Description |
|---|
SqlGraphProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureIndices(com.tinkerpop.blueprints.TransactionalGraph graph,
IndexSpec... indexSpecs) |
SqlGraph |
instantiateGraph(Configuration configuration) |
boolean |
isPreferringBigTransactions() |
boolean |
isUniqueIndexSupported() |
boolean |
needsDraining() |
RuntimeException |
translateException(RuntimeException inputException,
org.hawkular.inventory.paths.CanonicalPath affectedPath) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommit, rollback, startTransactionpublic boolean isPreferringBigTransactions()
isPreferringBigTransactions in interface GraphProviderpublic boolean isUniqueIndexSupported()
isUniqueIndexSupported in interface GraphProviderpublic boolean needsDraining()
needsDraining in interface GraphProviderpublic SqlGraph instantiateGraph(Configuration configuration)
instantiateGraph in interface GraphProviderpublic void ensureIndices(com.tinkerpop.blueprints.TransactionalGraph graph,
IndexSpec... indexSpecs)
ensureIndices in interface GraphProviderpublic RuntimeException translateException(RuntimeException inputException, org.hawkular.inventory.paths.CanonicalPath affectedPath)
translateException in interface GraphProviderCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.