public class AckAlertListener extends Object implements com.gemstone.gemfire.admin.AlertListener
| Constructor and Description |
|---|
AckAlertListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
alert(com.gemstone.gemfire.admin.Alert alert) |
protected String |
checkWaitTime(int waitTimeInMessage,
String msg)
Check that the wait time in the alert message is acceptable.
|
protected String |
getAlertString(com.gemstone.gemfire.admin.Alert alert)
Return a String representation of the given alert.
|
protected void |
validateSevereAlert(com.gemstone.gemfire.admin.Alert alert,
String seconds)
Given a severe alert message, and the number of seconds it specifies it
waited, validate this alert.
|
public void alert(com.gemstone.gemfire.admin.Alert alert)
alert in interface com.gemstone.gemfire.admin.AlertListenerprotected void validateSevereAlert(com.gemstone.gemfire.admin.Alert alert,
String seconds)
alert - The severe alert that was raised. Its message is already
known to be an acceptable flavor to the test (meaning it is one
of "waiting for replies", "waiting for response", or "unable to
form TCP/IP connection".seconds - A string taken out of the msg which is the number of seconds
the message says it waited.protected String getAlertString(com.gemstone.gemfire.admin.Alert alert)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.