public interface ServerControls extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
URI |
boltURI()
Returns the URI to the Bolt Protocol connector of the instance.
|
void |
close()
Stop the test instance and delete all files related to it on disk.
|
org.neo4j.graphdb.config.Configuration |
config()
Returns the server's configuration
|
org.neo4j.graphdb.GraphDatabaseService |
graph()
Access the
GraphDatabaseService used by the server |
Optional<URI> |
httpsURI()
Returns ths URI to the root resource of the instance using the https protocol.
|
URI |
httpURI()
Returns the URI to the root resource of the instance.
|
URI boltURI()
URI httpURI()
Optional<URI> httpsURI()
void close()
close
in interface AutoCloseable
org.neo4j.graphdb.GraphDatabaseService graph()
GraphDatabaseService
used by the serverorg.neo4j.graphdb.config.Configuration config()
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.