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 |
|---|---|
Set |
getDiscovered() |
Set |
getRemoved() |
void |
locatorsDiscovered(List locators) |
void |
locatorsRemoved(List locators) |
boolean |
waitForDiscovery(InetSocketAddress locator,
long time) |
boolean |
waitForRemove(InetSocketAddress locator,
long time) |
public void locatorsDiscovered(List locators)
locatorsDiscovered in interface com.gemstone.gemfire.cache.client.internal.LocatorDiscoveryCallbacklocatorsDiscovered in class com.gemstone.gemfire.cache.client.internal.LocatorDiscoveryCallbackAdapterpublic void locatorsRemoved(List locators)
locatorsRemoved in interface com.gemstone.gemfire.cache.client.internal.LocatorDiscoveryCallbacklocatorsRemoved in class com.gemstone.gemfire.cache.client.internal.LocatorDiscoveryCallbackAdapterpublic boolean waitForDiscovery(InetSocketAddress locator, long time) throws InterruptedException
InterruptedExceptionpublic boolean waitForRemove(InetSocketAddress locator, long time) throws InterruptedException
InterruptedExceptionpublic Set getDiscovered()
public Set getRemoved()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.