@Path(value="digest") public class SessionDigestResource extends Object
| 构造器和说明 |
|---|
SessionDigestResource() |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<String> |
allRevisionIds() |
Map<String,Map<String,InterfaceMapping>> |
allServiceMapping() |
int |
checkSumDataInfoIdList() |
Collection<String> |
getDataInfoIdList() |
List<String> |
getDataServerList() |
List<String> |
getMetaServerLeader() |
Map<String,Object> |
getPushSwitch() |
List<String> |
getServerListAll(String type) |
Map<String,Collection<? extends StoreData>> |
getSessionDataByConnectId(List<String> queryConnectIds,
String type) |
Map<String,Collection<? extends StoreData>> |
getSessionDataByDataInfoId(String dataInfoId,
String type) |
String |
getSessionDataCount() |
List<String> |
getSessionServerList() |
void |
init() |
protected PubSubDataInfoIdResp |
merge(List<PubSubDataInfoIdResp> resps) |
GenericResponse<PubSubDataInfoIdResp> |
queryDetail(String ips) |
@PostConstruct public void init()
@GET @Path(value="/metadata/allRevisionIds") @Produces(value="application/json") public Set<String> allRevisionIds()
@GET @Path(value="/metadata/allServiceMapping") @Produces(value="application/json") public Map<String,Map<String,InterfaceMapping>> allServiceMapping()
@GET
@Path(value="{type}/data/query")
@Produces(value="application/json")
public Map<String,Collection<? extends StoreData>> getSessionDataByDataInfoId(@QueryParam(value="dataInfoId")
String dataInfoId,
@PathParam(value="type")
String type)
@POST
@Path(value="{type}/connect/query")
@Produces(value="application/json")
public Map<String,Collection<? extends StoreData>> getSessionDataByConnectId(List<String> queryConnectIds,
@PathParam(value="type")
String type)
@GET @Path(value="/data/queryDetail") @Produces(value="application/json") public GenericResponse<PubSubDataInfoIdResp> queryDetail(@QueryParam(value="ips") String ips)
protected PubSubDataInfoIdResp merge(List<PubSubDataInfoIdResp> resps)
@GET @Path(value="/data/count") @Produces(value="application/json") public String getSessionDataCount()
@GET @Path(value="pushSwitch") @Produces(value="application/json") public Map<String,Object> getPushSwitch()
@GET @Path(value="getDataInfoIdList") @Produces(value="application/json") public Collection<String> getDataInfoIdList()
@GET @Path(value="checkSumDataInfoIdList") @Produces(value="application/json") public int checkSumDataInfoIdList()
@GET
@Path(value="{type}/serverList/query")
@Produces(value="application/json")
public List<String> getServerListAll(@PathParam(value="type")
String type)
Copyright © 2023 The Ant Financial. All rights reserved.