public class LocatorMembershipListenerImpl
extends java.lang.Object
implements org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListener
LocatorMembershipListener| Constructor and Description |
|---|
LocatorMembershipListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLocatorInfo() |
java.util.concurrent.ConcurrentMap<java.lang.Integer,java.util.Set<org.apache.geode.internal.admin.remote.DistributionLocatorId>> |
getAllLocatorsInfo() |
java.util.concurrent.ConcurrentMap<java.lang.Integer,java.util.Set<java.lang.String>> |
getAllServerLocatorsInfo() |
java.util.Set<java.lang.String> |
getRemoteLocatorInfo(int dsId) |
java.lang.Object |
handleRequest(java.lang.Object request) |
void |
locatorJoined(int distributedSystemId,
org.apache.geode.internal.admin.remote.DistributionLocatorId locator,
org.apache.geode.internal.admin.remote.DistributionLocatorId sourceLocator)
When the new locator is added to remote locator metadata, inform all other
locators in remote locator metadata about the new locator so that they can
update their remote locator metadata.
|
void |
setConfig(org.apache.geode.distributed.internal.DistributionConfig config) |
void |
setPort(int port) |
public void setPort(int port)
setPort in interface org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerpublic void setConfig(org.apache.geode.distributed.internal.DistributionConfig config)
setConfig in interface org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerpublic void locatorJoined(int distributedSystemId,
org.apache.geode.internal.admin.remote.DistributionLocatorId locator,
org.apache.geode.internal.admin.remote.DistributionLocatorId sourceLocator)
locatorJoined in interface org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerlocator - public java.lang.Object handleRequest(java.lang.Object request)
handleRequest in interface org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerpublic java.util.Set<java.lang.String> getRemoteLocatorInfo(int dsId)
getRemoteLocatorInfo in interface org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerpublic java.util.concurrent.ConcurrentMap<java.lang.Integer,java.util.Set<org.apache.geode.internal.admin.remote.DistributionLocatorId>> getAllLocatorsInfo()
getAllLocatorsInfo in interface org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerpublic java.util.concurrent.ConcurrentMap<java.lang.Integer,java.util.Set<java.lang.String>> getAllServerLocatorsInfo()
getAllServerLocatorsInfo in interface org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListenerpublic void clearLocatorInfo()
clearLocatorInfo in interface org.apache.geode.cache.client.internal.locator.wan.LocatorMembershipListener