public abstract static class DistributedSystemDUnitTest.TestAlertListener extends Object implements com.gemstone.gemfire.admin.AlertListener
AlertListener used for testing.| Modifier and Type | Field and Description |
|---|---|
protected 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. |
protected Throwable callbackError
public boolean wasInvoked()
CacheListener
methods was invoked. Before returning, the invoked
flag is cleared.public boolean waitForInvoked(long timeout)
throws InterruptedException
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.