private synchronized void endOperation(long version) {
      if (version == membershipVersion) {
        currentVersionOpCount--;
        logEndOperation(true);
      } else {
        previousVersionOpCount--;
        logEndOperation(false);
      }
    }
This method must be invoked when messages for an operation have been put in the
DistributionManager's outgoing queue.

@param version The membership version returned by startOperation
@since GemFire 5.1
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionAdvisor.java