org.jdiagnose.remote.system
Class InMemoryRemoteSystem
java.lang.Object
org.jdiagnose.remote.system.InMemoryRemoteSystem
- All Implemented Interfaces:
- RemoteResultStore, RemoteSystem
- public class InMemoryRemoteSystem
- extends java.lang.Object
- implements RemoteSystem, RemoteResultStore
- Author:
- jmccrindle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InMemoryRemoteSystem
public InMemoryRemoteSystem()
addRemoteResults
public void addRemoteResults(java.util.Iterator results)
throws RemoteResultException
- Specified by:
addRemoteResults
in interface RemoteResultStore
- Throws:
RemoteResultException
addRemoteResult
public void addRemoteResult(RemoteResult result)
throws RemoteResultException
- Specified by:
addRemoteResult
in interface RemoteResultStore
- Throws:
RemoteResultException
removeResult
protected boolean removeResult(RemoteResult result)
addResult
protected void addResult(RemoteResult result)
getHosts
public java.util.Iterator getHosts()
- Specified by:
getHosts
in interface RemoteSystem
getAgents
public java.util.Iterator getAgents()
- Specified by:
getAgents
in interface RemoteSystem
toString
public java.lang.String toString()
getHost
public RemoteHost getHost(java.lang.String name)
- Specified by:
getHost
in interface RemoteSystem
getAgent
public RemoteAgent getAgent(java.lang.String name)
- Specified by:
getAgent
in interface RemoteSystem
getResults
public java.util.Iterator getResults()
- Specified by:
getResults
in interface RemoteSystem
getMax
public int getMax()
- Returns:
- Returns the max.
setMax
public void setMax(int max)
- Parameters:
max
- The max to set.
getResult
public RemoteResult getResult(java.lang.String guid)
- Specified by:
getResult
in interface RemoteSystem
Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.