org.ektorp.impl
Class StdActiveTask
java.lang.Object
org.ektorp.impl.StdActiveTask
- All Implemented Interfaces:
- ActiveTask
- Direct Known Subclasses:
- StdDatabaseCompactionTask, StdIndexerTask, StdReplicationTask, StdViewCompactionTask
public abstract class StdActiveTask
- extends Object
- implements ActiveTask
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdActiveTask
public StdActiveTask()
getPid
public String getPid()
- Specified by:
getPid in interface ActiveTask
- Returns:
- the process ID of the task
setPid
public void setPid(String pid)
getProgress
public int getProgress()
- Specified by:
getProgress in interface ActiveTask
- Returns:
- the percentage progress of the task
setProgress
public void setProgress(int progress)
getStartedOn
public Date getStartedOn()
- Specified by:
getStartedOn in interface ActiveTask
- Returns:
- the date and time that the task was started
setStartedOn
public void setStartedOn(Date startedOn)
getUpdatedOn
public Date getUpdatedOn()
- Specified by:
getUpdatedOn in interface ActiveTask
- Returns:
- the date and time that the information about the task was last updated
setUpdatedOn
public void setUpdatedOn(Date updatedOn)
Copyright © 2017. All rights reserved.