Package alluxio.wire
Class PersistFile
- java.lang.Object
-
- alluxio.wire.PersistFile
-
public final class PersistFile extends java.lang.Object
Class to represent a file persist info.
-
-
Constructor Summary
Constructors Constructor Description PersistFile(long fileId, java.util.List<java.lang.Long> blockIds)
Creates a new instance for persist file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Long>
getBlockIds()
long
getFileId()
void
setBlockIds(java.util.List<java.lang.Long> blockIds)
Set the block ids.void
setFileId(long fileId)
Set the file id.
-
-
-
Method Detail
-
getBlockIds
public java.util.List<java.lang.Long> getBlockIds()
- Returns:
- return the block ids
-
getFileId
public long getFileId()
- Returns:
- the file id
-
setBlockIds
public void setBlockIds(java.util.List<java.lang.Long> blockIds)
Set the block ids.- Parameters:
blockIds
- the block ids
-
setFileId
public void setFileId(long fileId)
Set the file id.- Parameters:
fileId
- the file id
-
-