@NotThreadSafe public final class PersistJob extends 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,
String tempUfsPath,
ExponentialTimer timer)
Creates a new instance of
PersistJob . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
PersistJob.CancelState |
getCancelState() |
long |
getFileId() |
long |
getId() |
String |
getTempUfsPath() |
ExponentialTimer |
getTimer() |
AlluxioURI |
getUri() |
int |
hashCode() |
void |
setCancelState(PersistJob.CancelState cancelState) |
String |
toString() |
public PersistJob(long id, long fileId, AlluxioURI uri, 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 String getTempUfsPath()
public ExponentialTimer getTimer()
public PersistJob.CancelState getCancelState()
PersistJob.CancelState
public void setCancelState(PersistJob.CancelState cancelState)
cancelState
- the PersistJob.CancelState
to setCopyright © 2023. All Rights Reserved.