@InterfaceAudience.Private @InterfaceStability.Evolving @Metrics(name="CleanerActivity", about="Cleaner service metrics", context="yarn") public class CleanerMetrics extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Modifier and Type | Method and Description |
---|---|
long |
getDeletedFiles() |
long |
getFileErrors() |
static CleanerMetrics |
getInstance() |
long |
getProcessedFiles() |
long |
getTotalDeletedFiles() |
long |
getTotalFileErrors() |
long |
getTotalProcessedFiles() |
void |
reportAFileDelete()
Report a delete operation at the current system time
|
void |
reportAFileError()
Report a process operation error at the current system time
|
void |
reportAFileProcess()
Report a process operation at the current system time
|
void |
reportCleaningStart()
Report the start a new run of the cleaner.
|
public static CleanerMetrics getInstance()
public long getTotalDeletedFiles()
public long getDeletedFiles()
public long getTotalProcessedFiles()
public long getProcessedFiles()
public long getTotalFileErrors()
public long getFileErrors()
public void reportAFileDelete()
public void reportAFileProcess()
public void reportAFileError()
public void reportCleaningStart()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.