org.apache.hadoop.hbase.monitoring
Interface MonitoredTask


public interface MonitoredTask


Nested Class Summary
static class MonitoredTask.State
           
 
Method Summary
 void abort(String msg)
           
 void cleanup()
          Explicitly mark this status as able to be cleaned up, even though it might not be complete.
 long getCompletionTimestamp()
           
 String getDescription()
           
 long getStartTime()
           
 MonitoredTask.State getState()
           
 String getStatus()
           
 void markComplete(String msg)
           
 void setDescription(String description)
           
 void setStatus(String status)
           
 

Method Detail

getStartTime

long getStartTime()

getDescription

String getDescription()

getStatus

String getStatus()

getState

MonitoredTask.State getState()

getCompletionTimestamp

long getCompletionTimestamp()

markComplete

void markComplete(String msg)

abort

void abort(String msg)

setStatus

void setStatus(String status)

setDescription

void setDescription(String description)

cleanup

void cleanup()
Explicitly mark this status as able to be cleaned up, even though it might not be complete.



Copyright © 2012 Cloudera. All Rights Reserved.