public class InProcessServerControls extends Object implements ServerControls
| Constructor and Description |
|---|
InProcessServerControls(File serverFolder,
org.neo4j.server.AbstractNeoServer server,
Closeable additionalClosable) |
| 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.
|
void |
start() |
public URI boltURI()
ServerControlsboltURI in interface ServerControlspublic URI httpURI()
ServerControlshttpURI in interface ServerControlspublic Optional<URI> httpsURI()
ServerControlshttpsURI in interface ServerControlspublic void start()
public void close()
ServerControlsclose in interface AutoCloseableclose in interface ServerControlspublic org.neo4j.graphdb.GraphDatabaseService graph()
ServerControlsGraphDatabaseService used by the servergraph in interface ServerControlspublic org.neo4j.graphdb.config.Configuration config()
ServerControlsconfig in interface ServerControlsCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.