org.ektorp
Interface ActiveTask

All Known Subinterfaces:
DatabaseCompactionTask, IndexerTask, ReplicationTask, ViewCompactionTask
All Known Implementing Classes:
StdActiveTask, StdDatabaseCompactionTask, StdIndexerTask, StdReplicationTask, StdViewCompactionTask

public interface ActiveTask

Interface for retrieving data about an active task (e.g. compaction or replication)

Author:
ed wagstaff

Method Summary
 String getPid()
           
 int getProgress()
           
 Date getStartedOn()
           
 Date getUpdatedOn()
           
 

Method Detail

getPid

String getPid()
Returns:
the process ID of the task

getProgress

int getProgress()
Returns:
the percentage progress of the task

getStartedOn

Date getStartedOn()
Returns:
the date and time that the task was started

getUpdatedOn

Date getUpdatedOn()
Returns:
the date and time that the information about the task was last updated


Copyright © 2017. All rights reserved.