org.inria.myriads.snoozecommon.communication.localcontroller.hypervisor
Class MigrationSettings

java.lang.Object
  extended by org.inria.myriads.snoozecommon.communication.localcontroller.hypervisor.MigrationSettings
All Implemented Interfaces:
Serializable

public class MigrationSettings
extends Object
implements Serializable

Migration parameters.

Author:
Eugen Feller
See Also:
Serialized Form

Constructor Summary
MigrationSettings()
          Empty constructor.
MigrationSettings(MigrationSettings migration)
          Copy constructor.
 
Method Summary
 MigrationMethod getMethod()
          Returns the migration method.
 int getTimeout()
          Returns the migration convergence timeout.
 void setMethod(MigrationMethod method)
          Sets the migration method.
 void setTimeout(int timeout)
          Migration convergence timeout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrationSettings

public MigrationSettings()
Empty constructor.


MigrationSettings

public MigrationSettings(MigrationSettings migration)
Copy constructor.

Parameters:
migration - The migration parameters
Method Detail

setMethod

public void setMethod(MigrationMethod method)
Sets the migration method.

Parameters:
method - The migration method

getMethod

public MigrationMethod getMethod()
Returns the migration method.

Returns:
The migration method

setTimeout

public void setTimeout(int timeout)
Migration convergence timeout.

Parameters:
timeout - The migration convergence timeout

getTimeout

public int getTimeout()
Returns the migration convergence timeout.

Returns:
The migration convergence timeout


Copyright © 2012. All Rights Reserved.