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
-
JThread.voyager.MigrationManager()
-
-
moveTo(Object)
- Calls when the current thread needs to be migrated to host.
-
moveTo(String)
- Calls when need to migrate the current thread to host.
MigrationManager
public MigrationManager()
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
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