public class AgentInfoDAOImpl extends Object implements AgentInfoDAO
ALIVE_KEY, CATEGORY, CONFIG_LISTEN_ADDRESS, START_TIME_KEY, STOP_TIME_KEY
Constructor and Description |
---|
AgentInfoDAOImpl(Storage storage) |
Modifier and Type | Method and Description |
---|---|
void |
addAgentInformation(AgentInformation agentInfo) |
AgentInformation |
getAgentInformation(HostRef agentRef) |
List<AgentInformation> |
getAliveAgents() |
List<AgentInformation> |
getAllAgentInformation() |
long |
getCount() |
void |
removeAgentInformation(AgentInformation agentInfo) |
void |
updateAgentInformation(AgentInformation agentInfo) |
public AgentInfoDAOImpl(Storage storage)
public long getCount()
public List<AgentInformation> getAllAgentInformation()
getAllAgentInformation
in interface AgentInfoDAO
public List<AgentInformation> getAliveAgents()
getAliveAgents
in interface AgentInfoDAO
public AgentInformation getAgentInformation(HostRef agentRef)
getAgentInformation
in interface AgentInfoDAO
public void addAgentInformation(AgentInformation agentInfo)
addAgentInformation
in interface AgentInfoDAO
public void removeAgentInformation(AgentInformation agentInfo)
removeAgentInformation
in interface AgentInfoDAO
public void updateAgentInformation(AgentInformation agentInfo)
updateAgentInformation
in interface AgentInfoDAO
Copyright © 2012. All Rights Reserved.