@Override void close() { this.dm.removeMembershipListener(this); }
/** * Unregisters this processor as a membership listener * * @since GemFire 5.7 */ protected void removeListener() { try { getDistributionManager().removeMembershipListener(this); } catch (DistributedSystemDisconnectedException e) { // ignore } }
public void unregister() { dm.removeMembershipListener(this); keeper.remove(id); abort(); }
/** * Free up resources used by this advisor once it is no longer being used. * * @since GemFire 3.5 */ public void close() { try { synchronized (this) { this.membershipClosed = true; operationMonitor.close(); } getDistributionManager().removeMembershipListener(this.ml); } catch (CancelException e) { // if distribution has stopped, above is a no-op. } catch (IllegalArgumentException ignore) { // this is thrown if the listener is no longer registered } }
dm.removeMembershipListener(memEar);
/** * This method is invoked after isDestroyed has been set to true */ protected void postDestroyRegion(boolean destroyDiskRegion, RegionEventImpl event) { if (this.diskRegion != null) { if (destroyDiskRegion) { this.diskRegion.endDestroy(this); } else { this.diskRegion.close(this); } } if (this.versionVector != null) { try { this.cache.getDistributionManager().removeMembershipListener(this.versionVector); } catch (CancelException ignore) { // ignore: cache close will remove the membership listener } } }
return; distributionManager.removeMembershipListener(this);
system.getDistributionManager().removeMembershipListener(listener);
/** * Shuts down the grantor thread and changes internal state to destroyed. */ private void makeDestroyed() { try { this.thread.shutdown(); this.state = DESTROYED; if (logger.isTraceEnabled(LogMarker.DLS_VERBOSE)) { logger.trace(LogMarker.DLS_VERBOSE, "DLockGrantor {} state is DESTROYED", this.dlock.getName()); } if (this.untilDestroyed.getCount() > 0) { this.untilDestroyed.countDown(); } if (this.whileInitializing.getCount() > 0) { this.whileInitializing.countDown(); } this.dlock.getDistributionManager().removeMembershipListener(this.membershipListener); } finally { this.dlock.getStats().incGrantors(-1); } }
try { distributionManager = this.system.getDistributionManager(); distributionManager.removeMembershipListener(this.transactionManager); } catch (CancelException ignore) {
synchronized (this.myMembershipListenerLock) { if (this.myMembershipListener != null) { dm.removeMembershipListener(this.myMembershipListener);