public class CreateFileStatus extends FileStatus
Constructor and Description |
---|
CreateFileStatus(long fileLength,
long mode,
long uid,
long gid)
Constructs a new
CreateFileStatus . |
Modifier and Type | Method and Description |
---|---|
static CreateFileStatus |
create(AuthPolicy authPolicy,
long mode,
long fileLength)
Creates a
CreateFileStatus . |
long |
getGid() |
long |
getMode() |
long |
getUid() |
getFileLength, setFileLength
public CreateFileStatus(long fileLength, long mode, long uid, long gid)
CreateFileStatus
.fileLength
- the file lengthmode
- the modeuid
- the uidgid
- the gidpublic static CreateFileStatus create(AuthPolicy authPolicy, long mode, long fileLength)
CreateFileStatus
.authPolicy
- the authentication policymode
- the modefileLength
- the file lengthCreateFileStatus
public long getMode()
public long getUid()
public long getGid()
Copyright © 2023. All Rights Reserved.