public class MasterInfoService extends Object implements org.neo4j.server.webadmin.rest.AdvertisableService
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_PATH |
static String |
IS_MASTER_PATH |
static String |
IS_SLAVE_PATH |
| Constructor and Description |
|---|
MasterInfoService(org.neo4j.server.rest.repr.OutputFormat output,
org.neo4j.graphdb.GraphDatabaseService db) |
public static final String BASE_PATH
public static final String IS_MASTER_PATH
public static final String IS_SLAVE_PATH
public MasterInfoService(@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 isMaster()
throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic javax.ws.rs.core.Response isSlave()
throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic String getName()
getName in interface org.neo4j.server.webadmin.rest.AdvertisableServicepublic String getServerPath()
getServerPath in interface org.neo4j.server.webadmin.rest.AdvertisableServiceCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.