@NotThreadSafe public final class FreeOptions extends Object
Constructor and Description |
---|
FreeOptions(FreeTOptions options)
Creates an instance of
FreeOptions from a FreeTOptions . |
Modifier and Type | Method and Description |
---|---|
static FreeOptions |
defaults() |
boolean |
equals(Object o) |
CommonOptions |
getCommonOptions() |
int |
hashCode() |
boolean |
isForced() |
boolean |
isRecursive() |
FreeOptions |
setCommonOptions(CommonOptions options) |
FreeOptions |
setForced(boolean forced)
Sets the forced flag.
|
FreeOptions |
setRecursive(boolean recursive)
Sets the recursive flag.
|
String |
toString() |
public FreeOptions(FreeTOptions options)
FreeOptions
from a FreeTOptions
.options
- the thrift representation of free optionspublic static FreeOptions defaults()
FreeOptions
public CommonOptions getCommonOptions()
public boolean isForced()
public boolean isRecursive()
public FreeOptions setCommonOptions(CommonOptions options)
options
- the common optionspublic FreeOptions setForced(boolean forced)
forced
- the forced flag value; if the object to be freed is pinned, the flag specifies
whether this object should still be freedpublic FreeOptions setRecursive(boolean recursive)
recursive
- the recursive flag value to use; if the object to be freed is a directory,
the flag specifies whether the directory content should be recursively freed as wellCopyright © 2023. All Rights Reserved.