public class GridNoopEmailProcessor extends GridEmailProcessorAdapter
GridEmailProcessorAdapter.ctx, log| Constructor and Description |
|---|
GridNoopEmailProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
GridFuture<Boolean> |
schedule(String subj,
String body,
boolean html)
Schedules sending of given email to all admin emails, if any.
|
GridFuture<Boolean> |
schedule(String subj,
String body,
boolean html,
Collection<String> addrs)
Schedules sending of given email.
|
void |
sendNow(String subj,
String body,
boolean html)
Sends given email to all admin emails, if any, in the current thread blocking until it's either
successfully sent or failed.
|
void |
sendNow(String subj,
String body,
boolean html,
Collection<String> addrs)
Sends given email in the current thread blocking until it's either successfully sent or failed.
|
addAttributes, assertParameter, collectDiscoveryData, onDiscoveryDataReceived, onKernalStart, onKernalStop, printMemoryStats, start, stop, toString, validateNodepublic GridNoopEmailProcessor(GridKernalContext ctx)
ctx - Kernal context.public void sendNow(String subj, String body, boolean html)
sendNow in class GridEmailProcessorAdaptersubj - Email subject.body - Email body.html - HTML format flag.public void sendNow(String subj, String body, boolean html, Collection<String> addrs)
sendNow in class GridEmailProcessorAdaptersubj - Email subject.body - Email body.html - HTML format flag.addrs - Addresses.public GridFuture<Boolean> schedule(String subj, String body, boolean html)
schedule in class GridEmailProcessorAdaptersubj - Email subject.body - Email body.html - HTML format flag.public GridFuture<Boolean> schedule(String subj, String body, boolean html, Collection<String> addrs)
schedule in class GridEmailProcessorAdaptersubj - Email subject.body - Email body.html - HTML format flag.addrs - Addresses.Copyright © 2014. All rights reserved.