@NotThreadSafe
public final class PersistJob
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PersistJob.CancelState
Represents the possible cancel states.
|
| Constructor and Description |
|---|
PersistJob(long id,
long fileId,
AlluxioURI uri,
java.lang.String tempUfsPath,
ExponentialTimer timer)
Creates a new instance of
PersistJob. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
PersistJob.CancelState |
getCancelState() |
long |
getFileId() |
long |
getId() |
java.lang.String |
getTempUfsPath() |
ExponentialTimer |
getTimer() |
AlluxioURI |
getUri() |
int |
hashCode() |
void |
setCancelState(PersistJob.CancelState cancelState) |
java.lang.String |
toString() |
public PersistJob(long id,
long fileId,
AlluxioURI uri,
java.lang.String tempUfsPath,
ExponentialTimer timer)
PersistJob.id - the job id to usefileId - the file id to useuri - the file URI to usetempUfsPath - the temporary UFS path to usetimer - the timer to usepublic long getFileId()
public AlluxioURI getUri()
public long getId()
public java.lang.String getTempUfsPath()
public ExponentialTimer getTimer()
public PersistJob.CancelState getCancelState()
PersistJob.CancelStatepublic void setCancelState(PersistJob.CancelState cancelState)
cancelState - the PersistJob.CancelState to setpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2020. All Rights Reserved.