@PublicApi @NotThreadSafe public final class FreeOptions extends Object
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() |
FreeTOptions |
toThrift() |
public 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 wellpublic FreeTOptions toThrift()
Copyright © 2023. All Rights Reserved.