Class JThread.voyager.MigrationManager
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JThread.voyager.MigrationManager

Object
   |
   +----JThread.voyager.MigrationManager

public class MigrationManager
extends Object
Manages thread migration among voyager hosts.

Author:
Wei Tao
See Also:
MoveException

Constructor Index

 o JThread.voyager.MigrationManager()

Method Index

 o moveTo(Object)
Calls when the current thread needs to be migrated to host.
 o moveTo(String)
Calls when need to migrate the current thread to host.

Constructors

 o MigrationManager
public MigrationManager()

Methods

 o moveTo
public static void moveTo(Object host) throws MoveException
Calls when the current thread needs to be migrated to host.

Parameters:
host: - thread will move to the host where this object resides
 o moveTo
public static void moveTo(String host) throws MoveException
Calls when need to migrate the current thread to host.

Parameters:
host: - destination host name (host + port)

All Packages  Class Hierarchy  This Package  Previous  Next  Index