public class MasterInfoService extends Object implements 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(OutputFormat output,
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
OutputFormat output,
@Context
GraphDatabaseService db)
public javax.ws.rs.core.Response discover()
throws BadInputException
BadInputExceptionpublic javax.ws.rs.core.Response isMaster()
throws BadInputException
BadInputExceptionpublic javax.ws.rs.core.Response isSlave()
throws BadInputException
BadInputExceptionpublic String getName()
getName in interface AdvertisableServicepublic String getServerPath()
getServerPath in interface AdvertisableServiceCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.