public class InMemoryClusterStore extends Object implements TunnelClusterStore
| Constructor and Description |
|---|
InMemoryClusterStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAgent(String agentId,
AgentClusterInfo info,
long timeout,
TimeUnit timeUnit) |
Map<String,AgentClusterInfo> |
agentInfo(String appName) |
Collection<String> |
allAgentIds() |
AgentClusterInfo |
findAgent(String agentId) |
org.springframework.cache.Cache |
getCache() |
void |
removeAgent(String agentId) |
void |
setCache(org.springframework.cache.Cache cache) |
public AgentClusterInfo findAgent(String agentId)
findAgent in interface TunnelClusterStorepublic void removeAgent(String agentId)
removeAgent in interface TunnelClusterStorepublic void addAgent(String agentId, AgentClusterInfo info, long timeout, TimeUnit timeUnit)
addAgent in interface TunnelClusterStorepublic Collection<String> allAgentIds()
allAgentIds in interface TunnelClusterStorepublic Map<String,AgentClusterInfo> agentInfo(String appName)
agentInfo in interface TunnelClusterStorepublic org.springframework.cache.Cache getCache()
public void setCache(org.springframework.cache.Cache cache)
Copyright © 2022. All rights reserved.