org.objectweb.proactive.core.body.ft.servers.resource
Class ResourceServerImpl
java.lang.Object
org.objectweb.proactive.core.body.ft.servers.resource.ResourceServerImpl
- All Implemented Interfaces:
- java.rmi.Remote, ResourceServer
- public class ResourceServerImpl
- extends java.lang.Object
- implements ResourceServer
- Since:
- 2.2
- Author:
- cdelbe
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
ResourceServerImpl
public ResourceServerImpl(FTServer server)
ResourceServerImpl
public ResourceServerImpl(FTServer server,
java.lang.String p2pServerURL)
addFreeNode
public void addFreeNode(Node n)
throws java.rmi.RemoteException
- Description copied from interface:
ResourceServer
- Add a new node usable for recovery.
- Specified by:
addFreeNode
in interface ResourceServer
- Parameters:
n
- the node to add
- Throws:
java.rmi.RemoteException
- See Also:
ResourceServer.addFreeNode(org.objectweb.proactive.core.node.Node)
getFreeNode
public Node getFreeNode()
throws java.rmi.RemoteException
- Description copied from interface:
ResourceServer
- Return the next available node for recovery
- Specified by:
getFreeNode
in interface ResourceServer
- Returns:
- an available node
- Throws:
java.rmi.RemoteException
- See Also:
ResourceServer.getFreeNode()
initialize
public void initialize()
throws java.rmi.RemoteException
- Description copied from interface:
ResourceServer
- Reinit the state of the resource server.
- Specified by:
initialize
in interface ResourceServer
- Throws:
java.rmi.RemoteException
- See Also:
ResourceServer.initialize()
Copyright 2001-2005 INRIA All Rights Reserved.