org.ourgrid.peer.ui
Class PeerUIManager
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.ourgrid.common.rmi.OurgridUnicastRemoteObject
org.ourgrid.peer.ui.PeerUIManager
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, UIManager
public class PeerUIManager
- extends OurgridUnicastRemoteObject
- implements UIManager
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
getInstance
public static UIManager getInstance()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
startPeerService
public void startPeerService()
throws java.rmi.RemoteException,
java.net.MalformedURLException,
java.lang.NumberFormatException,
ConfigException
- Description copied from interface:
UIManager
- Starts Peer Service
- Specified by:
startPeerService
in interface UIManager
- Throws:
java.rmi.RemoteException
java.net.MalformedURLException
java.lang.NumberFormatException
ConfigException
- See Also:
UIManager.startPeerService()
stopPeerService
public void stopPeerService()
throws PeerUIException
- Description copied from interface:
UIManager
- Stops Peer Service
- Specified by:
stopPeerService
in interface UIManager
- Throws:
PeerUIException
- See Also:
UIManager.stopPeerService()
startGUIService
public void startGUIService()
throws java.rmi.RemoteException
- Specified by:
startGUIService
in interface UIManager
- Throws:
java.rmi.RemoteException
- See Also:
UIManager.startGUIService()
setLocalGums
public void setLocalGums(java.util.Collection<GumSpec> guMSpecs)
throws PeerUIException
- Specified by:
setLocalGums
in interface UIManager
- Throws:
PeerUIException
- See Also:
UIManager.setLocalGums(Collection)
setLocalGums
public void setLocalGums(java.lang.String descriptionFilePath)
throws PeerUIException,
CompilerException,
java.rmi.RemoteException
- Specified by:
setLocalGums
in interface UIManager
- Throws:
java.rmi.RemoteException
PeerUIException
CompilerException
- See Also:
UIManager.setLocalGums(java.lang.String)
getObserverDispatcher
public ObserverDispatcher getObserverDispatcher()
- Specified by:
getObserverDispatcher
in interface UIManager
- See Also:
UIManager.getObserverDispatcher()
noMoreListeners
public void noMoreListeners()
- Specified by:
noMoreListeners
in interface UIManager
- See Also:
UIManager.noMoreListeners()
isPeerRunning
public boolean isPeerRunning()
- Specified by:
isPeerRunning
in interface UIManager
- See Also:
UIManager.isPeerRunning()
getGums
public java.util.Collection<StatusEntry> getGums(AllocationStatus allocationStatus,
RequestSpec.RequestSource source)
throws java.rmi.RemoteException
- Specified by:
getGums
in interface UIManager
- Throws:
java.rmi.RemoteException
getPeerBalances
public java.util.Map<ObjectID,java.lang.Double> getPeerBalances()
throws java.rmi.RemoteException
- Specified by:
getPeerBalances
in interface UIManager
- Throws:
java.rmi.RemoteException
registerNewMonitorable
public void registerNewMonitorable(PeerUIManager.Notifiables notifiableType,
ObjectID objectID)
throws java.rmi.RemoteException
- Specified by:
registerNewMonitorable
in interface UIManager
- Throws:
java.rmi.RemoteException
- See Also:
UIManager.registerNewMonitorable(org.ourgrid.peer.ui.PeerUIManager.Notifiables,
ObjectID)
unregisterNewMonitorable
public void unregisterNewMonitorable(PeerUIManager.Notifiables notifiableType,
ObjectID objectID)
- Specified by:
unregisterNewMonitorable
in interface UIManager
- See Also:
UIManager.unregisterNewMonitorable(org.ourgrid.peer.ui.PeerUIManager.Notifiables,
org.ourgrid.common.id.ObjectID)
registerNewMonitorable
public void registerNewMonitorable(PeerUIManager.Notifiables notifiableType,
java.lang.String monitorableAddress)
throws java.rmi.RemoteException
- Specified by:
registerNewMonitorable
in interface UIManager
- Throws:
java.rmi.RemoteException
- See Also:
UIManager.registerNewMonitorable(org.ourgrid.peer.ui.PeerUIManager.Notifiables,
String)
unregisterNewMonitorable
public void unregisterNewMonitorable(PeerUIManager.Notifiables notifiableType,
java.lang.String monitorableAddress)
throws java.rmi.RemoteException
- Specified by:
unregisterNewMonitorable
in interface UIManager
- Throws:
java.rmi.RemoteException
- See Also:
UIManager.unregisterNewMonitorable(org.ourgrid.peer.ui.PeerUIManager.Notifiables,
String)
failureDetectorAdvice
public void failureDetectorAdvice(java.lang.String monitorableAddress,
GenericState newState)
throws java.rmi.RemoteException
- Specified by:
failureDetectorAdvice
in interface UIManager
- Throws:
java.rmi.RemoteException