public final void applyOperation() throws StandardException { // Distribute the message only in case of PR try { @SuppressWarnings("unchecked") Set<DistributedMember> members = ((CacheDistributionAdvisee)rgn) .getCacheDistributionAdvisor() .adviseSerialAsyncEventQueueOrGatewaySender(); if (GemFireXDUtils.TraceDBSynchronizer) { SanityManager.DEBUG_PRINT(GfxdConstants.TRACE_DB_SYNCHRONIZER, "BaseActivation: distributing bulk DML to remote nodes. " + "Message={" + this + "} to members=" + members); } this.send(this.rgn.getSystem(), members); } catch (SQLException sqle) { throw Misc.wrapSQLException(sqle, sqle); } addToLocalDBSynchronizerConditionally(true); }
public final void applyOperation() throws StandardException { // Distribute the message only in case of PR try { @SuppressWarnings("unchecked") Set<DistributedMember> members = ((CacheDistributionAdvisee)rgn) .getCacheDistributionAdvisor() .adviseSerialAsyncEventQueueOrGatewaySender(); if (GemFireXDUtils.TraceDBSynchronizer) { SanityManager.DEBUG_PRINT(GfxdConstants.TRACE_DB_SYNCHRONIZER, "BaseActivation: distributing bulk DML to remote nodes. " + "Message={" + this + "} to members=" + members); } this.send(this.rgn.getSystem(), members); } catch (SQLException sqle) { throw Misc.wrapSQLException(sqle, sqle); } addToLocalDBSynchronizerConditionally(true); }
public final void applyOperation() throws StandardException { // Distribute the message only in case of PR try { @SuppressWarnings("unchecked") Set<DistributedMember> members = ((CacheDistributionAdvisee)rgn) .getCacheDistributionAdvisor() .adviseSerialAsyncEventQueueOrGatewaySender(); if (GemFireXDUtils.TraceDBSynchronizer) { SanityManager.DEBUG_PRINT(GfxdConstants.TRACE_DB_SYNCHRONIZER, "BaseActivation: distributing bulk DML to remote nodes. " + "Message={" + this + "} to members=" + members); } this.send(this.rgn.getSystem(), members); } catch (SQLException sqle) { throw Misc.wrapSQLException(sqle, sqle); } addToLocalDBSynchronizerConditionally(true); }