org.gwe.api.impl
Class ServerAPI4AgentImpl
java.lang.Object
org.gwe.api.impl.BaseServerAPIImpl<API_TYPE,DOM_TYPE>
org.gwe.api.impl.PulsingServerAPIImpl<ServerAPI4Agent,AgentDomain>
org.gwe.api.impl.ServerAPI4AgentImpl
- All Implemented Interfaces:
- java.rmi.Remote, PulsingServerAPI, ServerAPI4Agent
public class ServerAPI4AgentImpl
- extends PulsingServerAPIImpl<ServerAPI4Agent,AgentDomain>
- implements ServerAPI4Agent
- Since:
- Aug 15, 2007
- Author:
- Marco Ruiz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerAPI4AgentImpl
public ServerAPI4AgentImpl()
reserveAllocation
public boolean reserveAllocation(int allocId,
ComputeResourceInfo compRes)
throws java.rmi.RemoteException
- Specified by:
reserveAllocation
in interface ServerAPI4Agent
- Throws:
java.rmi.RemoteException
getNextRequest
public DaemonRequest<?> getNextRequest(int allocId)
throws java.rmi.RemoteException
- Specified by:
getNextRequest
in interface ServerAPI4Agent
- Throws:
java.rmi.RemoteException
getNextRequestAgain
public DaemonRequest<?> getNextRequestAgain(int allocId)
throws java.rmi.RemoteException
- Specified by:
getNextRequestAgain
in interface ServerAPI4Agent
- Throws:
java.rmi.RemoteException
reportRequestCompletion
public boolean reportRequestCompletion(int allocId,
java.lang.String execId,
java.io.Serializable result)
throws java.rmi.RemoteException
- Specified by:
reportRequestCompletion
in interface ServerAPI4Agent
- Throws:
java.rmi.RemoteException
reportAgentProblem
public boolean reportAgentProblem(int allocId,
java.lang.Exception exception)
throws java.rmi.RemoteException
- Specified by:
reportAgentProblem
in interface ServerAPI4Agent
- Throws:
java.rmi.RemoteException
processHeartBeatOverdue
public void processHeartBeatOverdue(java.lang.Object id)
- Specified by:
processHeartBeatOverdue
in class PulsingServerAPIImpl<ServerAPI4Agent,AgentDomain>
Copyright © 2007-2009. All Rights Reserved.