Package alluxio.worker.block
Class CreateBlockOptions
- java.lang.Object
-
- alluxio.worker.block.CreateBlockOptions
-
@PublicApi @NotThreadSafe public final class CreateBlockOptions extends java.lang.Object
Method options for create a block.
-
-
Constructor Summary
Constructors Constructor Description CreateBlockOptions(java.lang.String alluxioPath, java.lang.String medium, long initialBytes)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getAlluxioPath()
long
getInitialBytes()
java.lang.String
getMedium()
int
hashCode()
CreateBlockOptions
setAlluxioPath(java.lang.String alluxioPath)
CreateBlockOptions
setInitialBytes(long initialBytes)
CreateBlockOptions
setMedium(java.lang.String medium)
java.lang.String
toString()
-
-
-
Method Detail
-
getAlluxioPath
@Nullable public java.lang.String getAlluxioPath()
- Returns:
- the alluxio path
-
getInitialBytes
public long getInitialBytes()
- Returns:
- the initial bytes
-
getMedium
@Nullable public java.lang.String getMedium()
- Returns:
- the medium
-
setAlluxioPath
public CreateBlockOptions setAlluxioPath(java.lang.String alluxioPath)
- Parameters:
alluxioPath
- the alluxio path- Returns:
- the CreateBlockOptions
-
setInitialBytes
public CreateBlockOptions setInitialBytes(long initialBytes)
- Parameters:
initialBytes
- the intial bytes- Returns:
- the CreateBlockOptions
-
setMedium
public CreateBlockOptions setMedium(java.lang.String medium)
- Parameters:
medium
- the medium- Returns:
- the CreateBlockOptions
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-