Interface PostOffice
- All Superinterfaces:
Comparable<Object>,HealthInspector<String>
- All Known Implementing Classes:
BootPostOfficeImpl
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.summerboot.jexpress.boot.instrumentation.HealthInspector
HealthInspector.InspectionType -
Field Summary
Fields inherited from interface org.summerboot.jexpress.boot.instrumentation.HealthInspector
retryIndex -
Method Summary
Modifier and TypeMethodDescriptionvoidsendAlertAsync(Collection<String> to, String title, String content, Throwable cause, boolean debouncing) send alert email in async modevoidsendAlertSync(Collection<String> to, String title, String content, Throwable cause, boolean debouncing) send alert email in sync modebooleansendEmailAsync(Collection<String> to, String title, String content, boolean isHTMLFormat) send email in async modebooleansendEmailSync(Collection<String> to, String title, String content, boolean isHTMLFormat) send email in sync modevoidsetAppVersion(String appVersion) Methods inherited from interface org.summerboot.jexpress.boot.instrumentation.HealthInspector
compareTo, inspectionType, logLevel, pauseLockCode, ping
-
Method Details
-
sendAlertAsync
void sendAlertAsync(Collection<String> to, String title, String content, Throwable cause, boolean debouncing) send alert email in async mode- Parameters:
to-title-content-cause-debouncing-
-
sendAlertSync
void sendAlertSync(Collection<String> to, String title, String content, Throwable cause, boolean debouncing) send alert email in sync mode- Parameters:
to-title-content-cause-debouncing-
-
sendEmailSync
send email in sync mode- Parameters:
to-title-content-isHTMLFormat-- Returns:
- true is success
-
sendEmailAsync
send email in async mode- Parameters:
to-title-content-isHTMLFormat-- Returns:
-
setAppVersion
-