Modifier and Type | Method and Description |
---|---|
static void |
FileSystemCommandUtils.setTtl(FileSystem fs,
AlluxioURI path,
long ttlMs,
TtlAction ttlAction)
Sets a new TTL value or unsets an existing TTL value for file at path.
|
Modifier and Type | Method and Description |
---|---|
TtlAction |
URIStatus.getTtlAction() |
Modifier and Type | Method and Description |
---|---|
TtlAction |
SetAttributeOptions.getTtlAction() |
TtlAction |
CreateFileOptions.getTtlAction() |
TtlAction |
CreateDirectoryOptions.getTtlAction() |
TtlAction |
OutStreamOptions.getTtlAction() |
Modifier and Type | Method and Description |
---|---|
SetAttributeOptions |
SetAttributeOptions.setTtlAction(TtlAction ttlAction) |
CreateFileOptions |
CreateFileOptions.setTtlAction(TtlAction ttlAction) |
CreateDirectoryOptions |
CreateDirectoryOptions.setTtlAction(TtlAction ttlAction) |
OutStreamOptions |
OutStreamOptions.setTtlAction(TtlAction ttlAction) |
Modifier and Type | Method and Description |
---|---|
long |
LineageMasterClient.reinitializeFile(String path,
long blockSizeBytes,
long ttl,
TtlAction ttlAction)
Reinitializates a given file.
|
Modifier and Type | Method and Description |
---|---|
static TtlAction |
ProtobufUtils.fromProtobuf(File.PTtlAction pTtlAction)
Converts Protobuf type to Wire type.
|
Modifier and Type | Method and Description |
---|---|
static File.PTtlAction |
ProtobufUtils.toProtobuf(TtlAction ttlAction)
Converts Wire type to Protobuf type.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
FileSystemMasterClientRestServiceHandler.createFile(String path,
Boolean persisted,
Boolean recursive,
Long blockSizeBytes,
Long ttl,
TtlAction ttlAction)
Deprecated.
|
long |
DefaultFileSystemMaster.reinitializeFile(AlluxioURI path,
long blockSizeBytes,
long ttl,
TtlAction ttlAction) |
long |
FileSystemMaster.reinitializeFile(AlluxioURI path,
long blockSizeBytes,
long ttl,
TtlAction ttlAction)
Reinitializes the blocks of an existing open file.
|
javax.ws.rs.core.Response |
FileSystemMasterClientRestServiceHandler.setAttribute(String path,
Boolean pinned,
Long ttl,
Boolean persisted,
String owner,
String group,
Short permission,
Boolean recursive,
TtlAction ttlAction)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected TtlAction |
Inode.mTtlAction |
Modifier and Type | Method and Description |
---|---|
TtlAction |
Inode.getTtlAction() |
Modifier and Type | Method and Description |
---|---|
long |
InodeTree.reinitializeFile(LockedInodePath inodePath,
long blockSizeBytes,
long ttl,
TtlAction ttlAction)
Reinitializes the block size and TTL of an existing open file.
|
T |
Inode.setTtlAction(TtlAction ttlAction) |
Modifier and Type | Method and Description |
---|---|
TtlAction |
SetAttributeOptions.getTtlAction() |
TtlAction |
CreateFileOptions.getTtlAction() |
TtlAction |
CreateDirectoryOptions.getTtlAction() |
Modifier and Type | Method and Description |
---|---|
SetAttributeOptions |
SetAttributeOptions.setTtlAction(TtlAction ttlAction) |
CreateFileOptions |
CreateFileOptions.setTtlAction(TtlAction ttlAction) |
CreateDirectoryOptions |
CreateDirectoryOptions.setTtlAction(TtlAction ttlAction) |
Modifier and Type | Method and Description |
---|---|
long |
LineageMaster.reinitializeFile(String path,
long blockSizeBytes,
long ttl,
TtlAction ttlAction)
Reinitializes the file when the file is lost or not completed.
|
long |
DefaultLineageMaster.reinitializeFile(String path,
long blockSizeBytes,
long ttl,
TtlAction ttlAction) |
javax.ws.rs.core.Response |
LineageMasterClientRestServiceHandler.reinitializeFile(String path,
Long blockSizeBytes,
Long ttl,
TtlAction ttlAction)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TtlAction |
TtlAction.fromThrift(TTtlAction tTtlAction)
Converts thrift type to wire type.
|
TtlAction |
FileInfo.getTtlAction() |
static TtlAction |
TtlAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TtlAction[] |
TtlAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
FileInfo |
FileInfo.setTtlAction(TtlAction ttlAction) |
static TTtlAction |
TtlAction.toThrift(TtlAction ttlAction)
Converts wire type to thrift type.
|
Copyright © 2023. All Rights Reserved.