Method

CachedPkgStatus

ModuleNomad
Library1E
Action

Get the percentage of the specified content in the local Nomad cache.

ParametersContentId (string): The ID of the content to query.
Return values

Percent (float): The percentage of the content cached on the named device.

ContentVersion (int): The version of the content on the named device.

Example
What percentage and version of content "Content_7f368e5f-4dbe-4027-ba81-c5463e372a0c" is in the local Nomad cache, if any?

 

Nomad.CachedPkgStatus(ContentId : "Content_7f368e5f-4dbe-4027-ba81-c5463e372a0c");
Platforms
  • Windows
Notes

Available from Tachyon v3.2.

No data is returned if the device does not have the requested content.

"Pkg" appears in the method name for historical reasons - the method works for any content in a Nomad cache.

See also RunPkgStatusRequest.