public void makePrimary(ClientProxyMembershipID proxyId,boolean isClientReady){
  CacheClientProxy proxy=getClientProxy(proxyId);
  if (proxy != null) {
    proxy.setPrimary(true);
    if (isClientReady || !proxy.isDurable()) {
      if (logger.isDebugEnabled()) {
        logger.debug("CacheClientNotifier: Notifying proxy to start dispatcher for: {}",proxy);
      }
      proxy.startOrResumeMessageDispatcher(false);
    }
  }
 else {
    throw new InternalGemFireError("No cache client proxy on this node for proxyId " + proxyId);
  }
}

public void makePrimary ( ClientProxyMembershipID proxyId , boolean isClientReady ) { CacheClientProxy proxy = getClientProxy ( proxyId ) ; if ( proxy != null ) { proxy . setPrimary ( true ) ; if ( isClientReady || ! proxy . isDurable ( ) ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "CacheClientNotifier: Notifying proxy to start dispatcher for: {}" , proxy ) ; } proxy . startOrResumeMessageDispatcher ( false ) ; } } else { throw new InternalGemFireError ( "No cache client proxy on this node for proxyId " + proxyId ) ; } }
makes primary to this cacheclientproxy and start the dispatcher of the cacheclientproxy
