@Controller @VisitRefer(refer="decision-management-maintenance") @RequestMapping(value="/{version}/cluster") public class ClusterResource extends java.lang.Object
构造器和说明 |
---|
ClusterResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
closeCluster(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getAllClusterNodes(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getClusterExceptionWarningConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getClusterStatus(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getFileConsistenceMode(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getFileService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getNCSelectionStrategy(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getProtocol(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getStatusService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
openCluster(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
setClusterExceptionWarningConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
ClusterExceptionWarningBean bean) |
Response |
setClusterNode(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
ClusterNodeBean bean) |
Response |
setClusterNodeIp(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String nodeId) |
Response |
setFileService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
FileServiceBean bean) |
Response |
setNCSelectionStrategy(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String strategy) |
Response |
setProtocol(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String protocol) |
Response |
setStatusService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
StatusServiceBean bean) |
Response |
syncResourceCache(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
@RequestMapping(value="/status", method=GET) @ResponseBody public Response getClusterStatus(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/open", method=POST) @ResponseBody public Response openCluster(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/close", method=POST) @ResponseBody public Response closeCluster(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/status/service", method=GET) @ResponseBody public Response getStatusService(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/status/service", method=POST) @ResponseBody public Response setStatusService(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody StatusServiceBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/file/service", method=GET) @ResponseBody public Response getFileService(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/file/service", method=POST) @ResponseBody public Response setFileService(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody FileServiceBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/file/mode", method=GET) @ResponseBody public Response getFileConsistenceMode(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/file/sync", method=GET) @ResponseBody public Response syncResourceCache(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/node/list", method=GET) @ResponseBody public Response getAllClusterNodes(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/node", method=POST) @ResponseBody public Response setClusterNode(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody ClusterNodeBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/node/ip", method=GET) @ResponseBody public Response setClusterNodeIp(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="clusterNodeId") java.lang.String nodeId) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/network/card/{strategy}", method=POST) @ResponseBody public Response setNCSelectionStrategy(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="strategy") java.lang.String strategy) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/network/card/strategy", method=GET) @ResponseBody public Response getNCSelectionStrategy(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/connection/{protocol}", method=POST) @ResponseBody public Response setProtocol(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="protocol") java.lang.String protocol) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/connection/protocol", method=GET) @ResponseBody public Response getProtocol(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/exception/config", method=GET) @ResponseBody public Response getClusterExceptionWarningConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/exception/config", method=PUT) @ResponseBody public Response setClusterExceptionWarningConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody ClusterExceptionWarningBean bean) throws java.lang.Exception
java.lang.Exception