public abstract static class DistributedSystemDUnitTest.TestAlertListener
extends java.lang.Object
implements com.gemstone.gemfire.admin.AlertListener
AlertListener used for testing.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Throwable |
callbackError |
| Constructor and Description |
|---|
TestAlertListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
alert(com.gemstone.gemfire.admin.Alert alert) |
abstract void |
alert2(com.gemstone.gemfire.admin.Alert alert) |
boolean |
waitForInvoked(long timeout) |
boolean |
wasInvoked()
Returns wether or not one of this
CacheListener
methods was invoked. |
public boolean wasInvoked()
CacheListener
methods was invoked. Before returning, the invoked
flag is cleared.public boolean waitForInvoked(long timeout)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic final void alert(com.gemstone.gemfire.admin.Alert alert)
alert in interface com.gemstone.gemfire.admin.AlertListenerpublic abstract void alert2(com.gemstone.gemfire.admin.Alert alert)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.