org.neo4j.server.webadmin.rest
Class MasterInfoService
java.lang.Object
org.neo4j.server.webadmin.rest.MasterInfoService
- All Implemented Interfaces:
- org.neo4j.server.webadmin.rest.AdvertisableService
public class MasterInfoService
- extends Object
- implements org.neo4j.server.webadmin.rest.AdvertisableService
|
Constructor Summary |
MasterInfoService(org.neo4j.server.rest.repr.OutputFormat output,
org.neo4j.graphdb.GraphDatabaseService db)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE_PATH
public static final String BASE_PATH
- See Also:
- Constant Field Values
IS_MASTER_PATH
public static final String IS_MASTER_PATH
- See Also:
- Constant Field Values
IS_SLAVE_PATH
public static final String IS_SLAVE_PATH
- See Also:
- Constant Field Values
IS_AVAILABLE_PATH
public static final String IS_AVAILABLE_PATH
- See Also:
- Constant Field Values
MasterInfoService
public MasterInfoService(@Context
org.neo4j.server.rest.repr.OutputFormat output,
@Context
org.neo4j.graphdb.GraphDatabaseService db)
discover
public javax.ws.rs.core.Response discover()
throws org.neo4j.server.rest.repr.BadInputException
- Throws:
org.neo4j.server.rest.repr.BadInputException
isMaster
public javax.ws.rs.core.Response isMaster()
throws org.neo4j.server.rest.repr.BadInputException
- Throws:
org.neo4j.server.rest.repr.BadInputException
isSlave
public javax.ws.rs.core.Response isSlave()
throws org.neo4j.server.rest.repr.BadInputException
- Throws:
org.neo4j.server.rest.repr.BadInputException
isAvailable
public javax.ws.rs.core.Response isAvailable()
getName
public String getName()
- Specified by:
getName in interface org.neo4j.server.webadmin.rest.AdvertisableService
getServerPath
public String getServerPath()
- Specified by:
getServerPath in interface org.neo4j.server.webadmin.rest.AdvertisableService
Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.