public static class ShutdownArgs.Builder extends Object
ShutdownArgs
.Modifier and Type | Method and Description |
---|---|
static ShutdownArgs |
abort()
Creates new
ShutdownArgs and setting ABORT. |
static ShutdownArgs |
force()
Creates new
ShutdownArgs and setting FORCE. |
static ShutdownArgs |
now()
Creates new
ShutdownArgs and setting NOW. |
static ShutdownArgs |
save(boolean save)
Creates new
ShutdownArgs and setting SAVE. |
public static ShutdownArgs save(boolean save)
ShutdownArgs
and setting SAVE.ShutdownArgs
with SAVE set.ShutdownArgs.save(boolean)
public static ShutdownArgs now()
ShutdownArgs
and setting NOW.ShutdownArgs
with NOW set.ShutdownArgs.now()
public static ShutdownArgs force()
ShutdownArgs
and setting FORCE.ShutdownArgs
with FORCE set.ShutdownArgs.force()
public static ShutdownArgs abort()
ShutdownArgs
and setting ABORT.ShutdownArgs
with ABORT set.ShutdownArgs.abort()
Copyright © 2024 lettuce.io. All rights reserved.