public class TransmitterSummary extends Object implements TransmitterSummaryMBean
QueuingTransmitter
.Modifier and Type | Field and Description |
---|---|
String |
lastError |
String |
lastFailure |
Constructor and Description |
---|
TransmitterSummary() |
Modifier and Type | Method and Description |
---|---|
com.yammer.metrics.core.Meter |
errorsMeter() |
com.yammer.metrics.core.Meter |
failuresMeter() |
double |
getFailuresPercentage() |
String |
getLastError() |
String |
getLastFailure() |
double |
getPermanentFailuresPercentage() |
double |
getTransientFailuresPercentage() |
com.yammer.metrics.core.Meter |
mailTransactionsMeter() |
com.yammer.metrics.core.Meter |
partialFailuresMeter() |
com.yammer.metrics.core.Meter |
permanentFailuresMeter() |
void |
register() |
void |
setName(String name) |
com.yammer.metrics.core.Meter |
successfulMailTransactionsMeter() |
com.yammer.metrics.core.Meter |
transientFailuresMeter() |
public volatile String lastFailure
public volatile String lastError
@PostConstruct public void register()
public void setName(String name)
public double getFailuresPercentage()
getFailuresPercentage
in interface TransmitterSummaryMBean
public double getPermanentFailuresPercentage()
getPermanentFailuresPercentage
in interface TransmitterSummaryMBean
public double getTransientFailuresPercentage()
getTransientFailuresPercentage
in interface TransmitterSummaryMBean
public String getLastFailure()
getLastFailure
in interface TransmitterSummaryMBean
public String getLastError()
getLastError
in interface TransmitterSummaryMBean
public com.yammer.metrics.core.Meter mailTransactionsMeter()
public com.yammer.metrics.core.Meter successfulMailTransactionsMeter()
public com.yammer.metrics.core.Meter failuresMeter()
public com.yammer.metrics.core.Meter permanentFailuresMeter()
public com.yammer.metrics.core.Meter transientFailuresMeter()
public com.yammer.metrics.core.Meter partialFailuresMeter()
public com.yammer.metrics.core.Meter errorsMeter()