public class ConnectionsService extends Object
| 构造器和说明 |
|---|
ConnectionsService() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
closeIpConnects(List<String> ipList)
close ip connects
|
List<Channel> |
getAllChannel() |
List<String> |
getConnections() |
List<ConnectId> |
getIpConnects(Set<String> ipSet)
get connectIds by ip set
|
String |
getIpFromConnectId(String connectId) |
List<ConnectId> |
markChannelAndGetIpConnects(Set<String> ipSet,
String key,
Object value)
get connectIds by ip set
|
public List<ConnectId> getIpConnects(Set<String> ipSet)
ipSet - ip setpublic List<ConnectId> markChannelAndGetIpConnects(Set<String> ipSet, String key, Object value)
ipSet - ip setkey - keyvalue - valuepublic List<String> closeIpConnects(List<String> ipList)
ipList - ip listCopyright © 2023 The Ant Financial. All rights reserved.