public abstract class TestCacheCallback extends Object implements com.gemstone.gemfire.cache.CacheCallback
wasInvoked()| Modifier and Type | Field and Description |
|---|---|
protected Throwable |
callbackError |
| Constructor and Description |
|---|
TestCacheCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
close2()
This method will do nothing.
|
boolean |
isClosed() |
boolean |
waitForInvocation(int timeoutMs)
Waits up to timeoutMs milliseconds for the listener to be invoked.
|
boolean |
wasInvoked()
Returns wether or not one of this
CacheListener
methods was invoked. |
protected volatile Throwable callbackError
public boolean wasInvoked()
CacheListener
methods was invoked. Before returning, the invoked
flag is cleared.public boolean waitForInvocation(int timeoutMs)
public boolean isClosed()
public final void close()
close in interface com.gemstone.gemfire.cache.CacheCallbackpublic void close2()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.