org.ektorp.impl
Class StdActiveTask

java.lang.Object
  extended by org.ektorp.impl.StdActiveTask
All Implemented Interfaces:
ActiveTask
Direct Known Subclasses:
StdDatabaseCompactionTask, StdIndexerTask, StdReplicationTask, StdViewCompactionTask

public abstract class StdActiveTask
extends Object
implements ActiveTask


Constructor Summary
StdActiveTask()
           
 
Method Summary
 String getPid()
           
 int getProgress()
           
 Date getStartedOn()
           
 Date getUpdatedOn()
           
 void setPid(String pid)
           
 void setProgress(int progress)
           
 void setStartedOn(Date startedOn)
           
 void setUpdatedOn(Date updatedOn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdActiveTask

public StdActiveTask()
Method Detail

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.