public void addProxyToMap(ObjectName objectName, LockServiceMXBean proxy) {
    if (mapOfProxy != null) {
      mapOfProxy.put(objectName, proxy);
      setSize = mapOfProxy.values().size();
    }
  }
Add a proxy to the proxy map

@param objectName name of the MBean
@param proxy reference to the proxy
geode-core/src/main/java/org/apache/geode/management/internal/beans/DistributedLockServiceBridge.java