protected static class UpdateVersionDUnitTest.MyLocatorCallback
extends com.gemstone.gemfire.cache.client.internal.LocatorDiscoveryCallbackAdapter
| Modifier | Constructor and Description |
|---|---|
protected |
MyLocatorCallback() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getDiscovered() |
java.util.Set |
getRemoved() |
void |
locatorsDiscovered(java.util.List locators) |
void |
locatorsRemoved(java.util.List locators) |
boolean |
waitForDiscovery(java.net.InetSocketAddress locator,
long time) |
boolean |
waitForRemove(java.net.InetSocketAddress locator,
long time) |
public void locatorsDiscovered(java.util.List locators)
locatorsDiscovered in interface com.gemstone.gemfire.cache.client.internal.LocatorDiscoveryCallbacklocatorsDiscovered in class com.gemstone.gemfire.cache.client.internal.LocatorDiscoveryCallbackAdapterpublic void locatorsRemoved(java.util.List locators)
locatorsRemoved in interface com.gemstone.gemfire.cache.client.internal.LocatorDiscoveryCallbacklocatorsRemoved in class com.gemstone.gemfire.cache.client.internal.LocatorDiscoveryCallbackAdapterpublic boolean waitForDiscovery(java.net.InetSocketAddress locator,
long time)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic boolean waitForRemove(java.net.InetSocketAddress locator,
long time)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic java.util.Set getDiscovered()
public java.util.Set getRemoved()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.