public static class SetStateOptions.Builder extends Object
Constructor and Description |
---|
SetStateOptions.Builder(TachyonConf conf)
Creates a new builder for
SetStateOptions . |
Modifier and Type | Method and Description |
---|---|
SetStateOptions |
build()
Builds a new instance of
SetStateOptions . |
SetStateOptions.Builder |
setPinned(boolean pinned) |
public SetStateOptions.Builder(TachyonConf conf)
SetStateOptions
.conf
- a Tachyon configurationpublic SetStateOptions.Builder setPinned(boolean pinned)
pinned
- the pinned flag value to use; it specifies whether the object should be kept in
memory, if ttl(time to live) is set, the file will be deleted after expiration no
matter this value is true or falsepublic SetStateOptions build()
SetStateOptions
.SetStateOptions
instanceCopyright © 2015. All Rights Reserved.