@Override protected final void removeListener() { try { if (!this.allowExecutionOnAdminMembers) { getDistributionManager().removeMembershipListener(this); } else { getDistributionManager().removeAllMembershipListener(this); } } catch (DistributedSystemDisconnectedException e) { // ignore } }
@Override protected final void removeListener() { try { if (!this.allowExecutionOnAdminMembers) { getDistributionManager().removeMembershipListener(this); } else { getDistributionManager().removeAllMembershipListener(this); } } catch (DistributedSystemDisconnectedException e) { // ignore } }
@Override protected final void removeListener() { try { if (!this.allowExecutionOnAdminMembers) { getDistributionManager().removeMembershipListener(this); } else { getDistributionManager().removeAllMembershipListener(this); } } catch (DistributedSystemDisconnectedException e) { // ignore } }
private void cleanup() { isCancelled = true; allowDestroys.countDown(); this.incompleteRestoreScript = null; Collection<DiskStoreImpl> diskStores = cache.listDiskStoresIncludingRegionOwned(); for(DiskStoreImpl store : diskStores) { store.releaseBackupLock(); } final DM distributionManager = cache.getDistributedSystem().getDistributionManager(); distributionManager.removeAllMembershipListener(this); cache.clearBackupManager(); }
private void cleanup() { isCancelled = true; allowDestroys.countDown(); Collection<DiskStoreImpl> diskStores = cache.listDiskStoresIncludingRegionOwned(); for(DiskStoreImpl store : diskStores) { store.releaseBackupLock(); } final DM distributionManager = cache.getDistributedSystem().getDistributionManager(); distributionManager.removeAllMembershipListener(this); cache.clearBackupManager(); }
/** * Unregisters this processor as a membership listener * @since 5.7 */ @Override protected void removeListener() { DistributionAdvisor da = UpdateAttributesProcessor.this.advisee.getDistributionAdvisor(); if (da.useAdminMembersForDefault()) { getDistributionManager().removeAllMembershipListener(this); } else { super.removeListener(); } } /**
/** * Unregisters this processor as a membership listener * @since 5.7 */ @Override protected void removeListener() { DistributionAdvisor da = UpdateAttributesProcessor.this.advisee.getDistributionAdvisor(); if (da.useAdminMembersForDefault()) { getDistributionManager().removeAllMembershipListener(this); } else { super.removeListener(); } } /**