static DistributionImpl createDistribution(
      ClusterDistributionManager clusterDistributionManager, RemoteTransportConfig transport,
      InternalDistributedSystem system,
      MembershipListener<InternalDistributedMember> listener,
      MessageListener<InternalDistributedMember> messageListener,
      final MembershipLocator<InternalDistributedMember> locator) {

    DistributionImpl distribution =
        new DistributionImpl(clusterDistributionManager, transport, system, listener,
            messageListener, locator);
    distribution.start();
    return distribution;
  }
thread-local used to force use of Messenger for communications, usually to avoid deadlock when
conserve-sockets=true. Use of this should be removed when connection pools are implemented in
the direct-channel
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionImpl.java