public class LiveMigrateOptions extends BaseActionOptions
BaseActionOptions.OptionEnum
Modifier and Type | Method and Description |
---|---|
LiveMigrateOptions |
blockMigration(boolean blocked)
Block Migration
|
static LiveMigrateOptions |
create() |
LiveMigrateOptions |
diskOverCommit(boolean enabled)
Disk over commit
|
boolean |
getBlockMigration() |
boolean |
getDiskOverCommit() |
String |
getHost() |
LiveMigrateOptions |
host(String host)
Name of the new host (Optional)
|
add, get, toJsonString
public static LiveMigrateOptions create()
public LiveMigrateOptions host(String host)
host
- the name of the new hostpublic LiveMigrateOptions blockMigration(boolean blocked)
blocked
- if true, migration is blockedpublic LiveMigrateOptions diskOverCommit(boolean enabled)
enabled
- if enabled, disk over commit is allowedpublic String getHost()
public boolean getBlockMigration()
public boolean getDiskOverCommit()
Copyright © 2017. All rights reserved.