@Path(value="manage") public class MetaStoreResource extends Object
| 构造器和说明 |
|---|
MetaStoreResource() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.alipay.sofa.registry.core.model.Result |
changePeer(String ipAddressList)
set node list in raft
|
List<String> |
getMetaList() |
com.alipay.sofa.registry.core.model.Result |
remove(Map<String,String> map) |
com.alipay.sofa.registry.core.model.Result |
resetPeer(String ipAddressList)
force set node list in raft (no need leader alive), maybe lost data
|
@POST
@Path(value="changePeer")
@Produces(value="application/json")
public com.alipay.sofa.registry.core.model.Result changePeer(@FormParam(value="ipAddressList")
String ipAddressList)
@POST
@Path(value="resetPeer")
@Produces(value="application/json")
public com.alipay.sofa.registry.core.model.Result resetPeer(@FormParam(value="ipAddressList")
String ipAddressList)
@POST @Path(value="removePeer") @Produces(value="application/json") public com.alipay.sofa.registry.core.model.Result remove(Map<String,String> map)
Copyright © 2019 The Ant Financial. All rights reserved.