Get the associated ufs client with the mount id.
@param mountId mount id to look up ufs client
@return ufsClient
979263
public UfsManager.UfsClient getUfsClient(long mountId) {
    try {
      return mUfsManager.get(mountId);
    } catch (NotFoundException | UnavailableException e) {
      LOG.warn("failed to get ufsclient for mountid {}, exception {}", mountId, e);
    }
    return null;
  }
1118697
public static Message get(final BandwidthClient client, final String id) throws Exception {
    	
        final String messagesUri = client.getUserResourceInstanceUri(BandwidthConstants.MESSAGES_URI_PATH, id);

        final JSONObject jsonObject = toJSONObject(client.get(messagesUri, null));
        return new Message(client, jsonObject);
    }
537435
public ClientBuilderForConnector withCredentialsId(String credentialsId)
            throws UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException {
        if (isNotBlank(credentialsId)) {
            withCredentials(lookupSystemCredentials(credentialsId));
        } else {
            withSslConfig(null);
        }

        return this;
    }
1196209
public static String getResourceInstitution(String resourceId)
	{
		Resource resource = getResource(resourceId);
    	return resource.getDataInstitution();
	}
1192711
public OvhApplication api_application_applicationId_GET(Long applicationId) throws IOException {
		String qPath = "/me/api/application/{applicationId}";
		StringBuilder sb = path(qPath, applicationId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhApplication.class);
	}
703920
public ConnectionFactory<?> getConnectionFactory(String providerId) {
		ConnectionFactory<?> connectionFactory = connectionFactories.get(providerId);
		if (connectionFactory == null) {
			throw new IllegalArgumentException("No connection factory for service provider '" + providerId + "' is registered");
		}
		return connectionFactory;
	}
898828
private UnderFileSystem getOrAdd(AlluxioURI ufsUri, UnderFileSystemConfiguration ufsConf) {
    Key key = new Key(ufsUri, ufsConf.getMountSpecificConf());
    UnderFileSystem cachedFs = mUnderFileSystemMap.get(key);
    if (cachedFs != null) {
      return cachedFs;
    }
    // On cache miss, synchronize the creation to ensure ufs is only created once
    synchronized (mLock) {
      cachedFs = mUnderFileSystemMap.get(key);
      if (cachedFs != null) {
        return cachedFs;
      }
      UnderFileSystem fs = UnderFileSystem.Factory.create(ufsUri.toString(), ufsConf);

      // Detect whether to use managed blocking on UFS operations.
      boolean useManagedBlocking = fs.isObjectStorage();
      if (ufsConf.isSet(PropertyKey.UNDERFS_RUN_WITH_MANAGEDBLOCKING)) {
        useManagedBlocking = ufsConf.getBoolean(PropertyKey.UNDERFS_RUN_WITH_MANAGEDBLOCKING);
      }
      // Wrap UFS under managed blocking forwarder if required.
      if (useManagedBlocking) {
        fs = new ManagedBlockingUfsForwarder(fs);
      }

      mUnderFileSystemMap.putIfAbsent(key, fs);
      mCloser.register(fs);
      try {
        connectUfs(fs);
      } catch (IOException e) {
        LOG.warn("Failed to perform initial connect to UFS {}: {}", ufsUri, e.getMessage());
      }
      return fs;
    }
  }
825354
public static MediaFile get(final BandwidthClient client, final String id) throws Exception {
    	
        final String mediaUri = client.getUserResourceInstanceUri(BandwidthConstants.MEDIA_URI_PATH, id);

        final JSONObject jsonObject = toJSONObject(client.get(mediaUri, null));
        return new MediaFile(client, jsonObject);
    }
320120
@Override
    public IPortletUrlBuilder getPortletUrlBuilder(IPortletWindowId portletWindowId) {
        IPortletUrlBuilder portletUrlBuilder;

        portletUrlBuilder = this.portletUrlBuilders.get(portletWindowId);
        if (portletUrlBuilder == null) {
            portletUrlBuilder =
                    ConcurrentMapUtils.putIfAbsent(
                            this.portletUrlBuilders,
                            portletWindowId,
                            new PortletUrlBuilder(portletWindowId, this));
        }

        return portletUrlBuilder;
    }
460192
public static vrid get(nitro_service service, Long id) throws Exception{
		vrid obj = new vrid();
		obj.set_id(id);
		vrid response = (vrid) obj.get_resource(service);
		return response;
	}
759635
public static String getResourceLocation(String resourceId)
	{
		Resource resource = getResource(resourceId);
    	return resource.getDataLocation();
	}
200214
public String getMountPoint(AlluxioURI uri) throws InvalidPathException {
    String path = uri.getPath();
    String lastMount = ROOT;
    try (LockResource r = new LockResource(mReadLock)) {
      for (Map.Entry<String, MountInfo> entry : mState.getMountTable().entrySet()) {
        String mount = entry.getKey();
        // we choose a new candidate path if the previous candidatepath is a prefix
        // of the current alluxioPath and the alluxioPath is a prefix of the path
        if (!mount.equals(ROOT) && PathUtils.hasPrefix(path, mount)
            && PathUtils.hasPrefix(mount, lastMount)) {
          lastMount = mount;
        }
      }
      return lastMount;
    }
  }
180769
public static AVIMClient getInstance(String clientId, String tag) {
    AVIMClient client = getInstance(clientId);
    client.tag = tag;
    return client;
  }
1340782
def get_drives(self, id_or_uri):
        
        uri = self._client.build_uri(id_or_uri=id_or_uri) + self.DRIVES_PATH
        return self._client.get(id_or_uri=uri)
707823
@Override
  public CloudBlobClient getCloudBlobClient() throws IOException {
    StorageCredentialsSharedAccessSignature signature =
        new StorageCredentialsSharedAccessSignature(this.azureStorageContainerSASToken);
    URI storageAccountUri;
    try {
      storageAccountUri = new URI(String.format(AZURE_STORAGE_ACCOUNT_URI_FORMAT, this.azureStorageAccountName));
    } catch (URISyntaxException e) {
      throw new IOException("Failed to generate Storage Account URI", e);
    }

    return new CloudBlobClient(storageAccountUri, signature);
  }
658973
@Override
  public CloudBlobClient getCloudBlobClient() throws IOException {
    String connectionString =  String.format(AZURE_STORAGE_CONNECTION_STRING_FORMAT,
        this.azureStorageAccountName, this.azureStorageAccountKey);
    try {
      return CloudStorageAccount.parse(connectionString).createCloudBlobClient();
    } catch (URISyntaxException | InvalidKeyException e) {
      throw new IOException("Failed to create a Cloud Storage Account.", e);
    }
  }
203126
public static clusterinstance_clusternode_binding[] get(nitro_service service, Long clid) throws Exception{
		clusterinstance_clusternode_binding obj = new clusterinstance_clusternode_binding();
		obj.set_clid(clid);
		clusterinstance_clusternode_binding response[] = (clusterinstance_clusternode_binding[]) obj.get_resources(service);
		return response;
	}