public class VisorEventMapper extends Object implements IgniteClosure<Event,VisorGridEvent>
| Constructor and Description |
|---|
VisorEventMapper() |
| Modifier and Type | Method and Description |
|---|---|
VisorGridEvent |
apply(Event evt)
Closure body.
|
protected VisorGridEvent |
map(Event evt,
int type,
IgniteUuid id,
String name,
UUID nid,
long ts,
String msg,
String shortDisplay)
Map grid event to Visor data transfer object.
|
protected VisorGridEvent map(Event evt, int type, IgniteUuid id, String name, UUID nid, long ts, String msg, String shortDisplay)
evt - Grid event.type - Event's type.id - Event id.name - Event name.nid - Event node ID.ts - Event timestamp.msg - Event message.shortDisplay - Shortened version of toString() result.public VisorGridEvent apply(Event evt)
apply in interface IgniteClosure<Event,VisorGridEvent>evt - Closure parameter.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015