类 InMemoryClusterStore
- java.lang.Object
-
- com.alibaba.arthas.tunnel.server.cluster.InMemoryClusterStore
-
- 所有已实现的接口:
TunnelClusterStore
public class InMemoryClusterStore extends Object implements TunnelClusterStore
- 作者:
- hengyunabc 2020-12-02
-
-
构造器概要
构造器 构造器 说明 InMemoryClusterStore()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddAgent(String agentId, AgentClusterInfo info, long timeout, TimeUnit timeUnit)Map<String,AgentClusterInfo>agentInfo(String appName)Collection<String>allAgentIds()AgentClusterInfofindAgent(String agentId)org.springframework.cache.CachegetCache()voidremoveAgent(String agentId)voidsetCache(org.springframework.cache.Cache cache)
-
-
-
方法详细资料
-
findAgent
public AgentClusterInfo findAgent(String agentId)
- 指定者:
findAgent在接口中TunnelClusterStore
-
removeAgent
public void removeAgent(String agentId)
- 指定者:
removeAgent在接口中TunnelClusterStore
-
addAgent
public void addAgent(String agentId, AgentClusterInfo info, long timeout, TimeUnit timeUnit)
- 指定者:
addAgent在接口中TunnelClusterStore
-
allAgentIds
public Collection<String> allAgentIds()
- 指定者:
allAgentIds在接口中TunnelClusterStore
-
agentInfo
public Map<String,AgentClusterInfo> agentInfo(String appName)
- 指定者:
agentInfo在接口中TunnelClusterStore
-
getCache
public org.springframework.cache.Cache getCache()
-
setCache
public void setCache(org.springframework.cache.Cache cache)
-
-