|
GigaSpaces XAP 9.7.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.admin.alert.alerts.AbstractAlert
public class AbstractAlert
An abstraction over a fired alert, exposing the Alert API. Subclass to introduce a new
type of alert, with strongly typed getter methods over runtime properties specified by
Alert.getProperties().
| Constructor Summary | |
|---|---|
AbstractAlert()
required by java.io.Externalizable |
|
AbstractAlert(Alert alert)
|
|
| Method Summary | |
|---|---|
Alert |
getAlert()
The alert set upon construction |
String |
getAlertUid()
|
String |
getComponentDescription()
Description of the component: host - [Host IP] GSC - [GSC Name] on [Host IP] LUS - LUS on [Host IP] GSM - GSM on [Host IP] PU instance - [PU name] [Partition number] [Primary or backup] on [Host IP] Mirror - Mirror on [Host IP] EDS - EDS on [Host IP] |
String |
getComponentUid()
|
Map<String,String> |
getConfig()
|
String |
getDescription()
|
String |
getGroupUid()
|
String |
getName()
|
Map<String,String> |
getProperties()
|
AlertSeverity |
getSeverity()
|
AlertStatus |
getStatus()
|
long |
getTimestamp()
|
void |
readExternal(ObjectInput in)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAlert()
public AbstractAlert(Alert alert)
| Method Detail |
|---|
public Alert getAlert()
public String getAlertUid()
getAlertUid in interface Alertpublic String getComponentUid()
getComponentUid in interface Alertpublic String getComponentDescription()
Alert
getComponentDescription in interface AlertAlert.getComponentUid().public String getDescription()
getDescription in interface Alertpublic String getGroupUid()
getGroupUid in interface Alertpublic String getName()
getName in interface Alertpublic Map<String,String> getProperties()
getProperties in interface Alertpublic Map<String,String> getConfig()
getConfig in interface Alertpublic AlertSeverity getSeverity()
getSeverity in interface Alertpublic AlertStatus getStatus()
getStatus in interface Alertpublic long getTimestamp()
getTimestamp in interface Alertpublic String toString()
toString in class Object
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
|
GigaSpaces XAP 9.7.2 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||