org.objectweb.perseus.distribution.jgroups

Class JGroupsControllerService

Implemented Interfaces:
DistResControllerService

public class JGroupsControllerService
extends java.lang.Object
implements DistResControllerService

Copyright (C) 2003-2004 - France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Release: 1.0 Authors: Olivier Lobry (olivier.lobry@rd.francetelecom.com)

Method Summary

void
copyCoordinationFrom(Object rId, Serializable nodeId)
void
copyCoordinationTo(Object resId, Object nodeId)
Vector
getCoordinators(Object rId)
Serializable
getNodeId()
void
migrateCoordinationFrom(Object rId, Serializable nodeId)
String
toString()

Method Details

copyCoordinationFrom

public void copyCoordinationFrom(Object rId,
                                 Serializable nodeId)
            throws NotCoordinatorException,
                   AlreadyCoordinatorException
Specified by:
copyCoordinationFrom in interface DistResControllerService


copyCoordinationTo

public void copyCoordinationTo(Object resId,
                               Object nodeId)
            throws NotCoordinatorException


getCoordinators

public Vector getCoordinators(Object rId)
Specified by:
getCoordinators in interface DistResControllerService


getNodeId

public Serializable getNodeId()
Specified by:
getNodeId in interface DistResControllerService


migrateCoordinationFrom

public void migrateCoordinationFrom(Object rId,
                                    Serializable nodeId)
            throws NotCoordinatorException,
                   AlreadyCoordinatorException
Specified by:
migrateCoordinationFrom in interface DistResControllerService


toString

public String toString()


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.