org.objectweb.proactive.core.body.ft.servers.resource
Interface ResourceServer

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
FTServer, ResourceServerImpl

public interface ResourceServer
extends java.rmi.Remote

An object implementing this interface provides services for storing and retreiving ProActive nodes. These ressources are used for recovering failed active objects. This server is an RMI object.

Since:
ProActive 2.2
Author:
cdelbe

Method Summary
 void addFreeNode(Node n)
          Add a new node usable for recovery.
 Node getFreeNode()
          Return the next available node for recovery
 void initialize()
          Reinit the state of the resource server.
 

Method Detail

addFreeNode

public void addFreeNode(Node n)
                 throws java.rmi.RemoteException
Add a new node usable for recovery.

Parameters:
n - the node to add
Throws:
java.rmi.RemoteException

getFreeNode

public Node getFreeNode()
                 throws java.rmi.RemoteException
Return the next available node for recovery

Returns:
an available node
Throws:
java.rmi.RemoteException

initialize

public void initialize()
                throws java.rmi.RemoteException
Reinit the state of the resource server.

Throws:
java.rmi.RemoteException


Copyright 2001-2005 INRIA All Rights Reserved.