|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Alert
public String getComponentUid()
getComponentUid
in interface Alert
public String getComponentDescription()
Alert
getComponentDescription
in interface Alert
Alert.getComponentUid()
.public String getDescription()
getDescription
in interface Alert
public String getGroupUid()
getGroupUid
in interface Alert
public String getName()
getName
in interface Alert
public Map<String,String> getProperties()
getProperties
in interface Alert
public Map<String,String> getConfig()
getConfig
in interface Alert
public AlertSeverity getSeverity()
getSeverity
in interface Alert
public AlertStatus getStatus()
getStatus
in interface Alert
public long getTimestamp()
getTimestamp
in interface Alert
public String toString()
toString
in class Object
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |