public void addMembershipAndProxyListener(MembershipListener listener) { addMembershipListener(listener); }
public void addMembershipAndProxyListener(MembershipListener listener) { addMembershipListener(listener); }
void initialize(LocalRegion theRegion, Object theKey, Object theCallbackArg) { this.region = theRegion; this.regionName = theRegion.getFullPath(); this.key = theKey; this.aCallbackArgument = theCallbackArg; RegionAttributes attrs = theRegion.getAttributes(); Scope scope = attrs.getScope(); if (scope.isDistributed()) { this.advisor = ((CacheDistributionAdvisee)this.region).getCacheDistributionAdvisor(); this.distributionManager= ((CacheDistributionAdvisee)theRegion).getDistributionManager(); this.timeout = getSearchTimeout(); this.advisor.addMembershipListener(this); } }
void initialize(LocalRegion theRegion, Object theKey, Object theCallbackArg) { this.region = theRegion; this.regionName = theRegion.getFullPath(); this.key = theKey; this.aCallbackArgument = theCallbackArg; RegionAttributes attrs = theRegion.getAttributes(); Scope scope = attrs.getScope(); if (scope.isDistributed()) { this.advisor = ((CacheDistributionAdvisee)this.region).getCacheDistributionAdvisor(); this.distributionManager= ((CacheDistributionAdvisee)theRegion).getDistributionManager(); this.timeout = getSearchTimeout(); this.advisor.addMembershipListener(this); } }
.setIsUsedForPartitionedRegionAdmin(true) .setCachePerfStatsHolder(prMetaStatsHolder)); root.getDistributionAdvisor().addMembershipListener(new MemberFailureListener());
.setIsUsedForPartitionedRegionAdmin(true) .setCachePerfStatsHolder(prMetaStatsHolder)); root.getDistributionAdvisor().addMembershipListener(new MemberFailureListener());