public class CoreDatabaseAvailabilityService extends Object implements org.neo4j.server.rest.management.AdvertisableService
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_PATH |
static String |
IS_AVAILABLE_PATH |
static String |
IS_READ_ONLY_PATH |
static String |
IS_WRITABLE_PATH |
| Constructor and Description |
|---|
CoreDatabaseAvailabilityService(org.neo4j.server.rest.repr.OutputFormat output,
org.neo4j.graphdb.GraphDatabaseService db) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
discover() |
String |
getName() |
String |
getServerPath() |
javax.ws.rs.core.Response |
isAvailable() |
javax.ws.rs.core.Response |
isReadOnly() |
javax.ws.rs.core.Response |
isWritable() |
public static final String BASE_PATH
public static final String IS_WRITABLE_PATH
public static final String IS_AVAILABLE_PATH
public static final String IS_READ_ONLY_PATH
public CoreDatabaseAvailabilityService(@Context
org.neo4j.server.rest.repr.OutputFormat output,
@Context
org.neo4j.graphdb.GraphDatabaseService db)
public javax.ws.rs.core.Response discover()
throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic javax.ws.rs.core.Response isWritable()
throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic javax.ws.rs.core.Response isReadOnly()
throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic javax.ws.rs.core.Response isAvailable()
public String getName()
getName in interface org.neo4j.server.rest.management.AdvertisableServicepublic String getServerPath()
getServerPath in interface org.neo4j.server.rest.management.AdvertisableServiceCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.