Java org.apache.hadoop.yarn.api.records LocalResource fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.yarn.api.records LocalResource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.yarn.api.records LocalResource.

The text is from its open source code.

Method

StringgetPattern()
Get the pattern that should be used to extract entries from the archive (only used when type is PATTERN).
URLgetResource()
Get the location of the resource to be localized.
longgetSize()
Get the size of the resource to be localized.
longgetTimestamp()
Get the original timestamp of the resource to be localized, used for verification.
LocalResourceTypegetType()
Get the LocalResourceType of the resource to be localized.
LocalResourceVisibilitygetVisibility()
Get the LocalResourceVisibility of the resource to be localized.
LocalResourcenewInstance(URL url, LocalResourceType type, LocalResourceVisibility visibility, long size, long timestamp)
LocalResourcenewInstance(URL url, LocalResourceType type, LocalResourceVisibility visibility, long size, long timestamp, String pattern)
LocalResourcenewInstance(URL url, LocalResourceType type, LocalResourceVisibility visibility, long size, long timestamp, boolean shouldBeUploadedToSharedCache)
voidsetPattern(String pattern)
Set the pattern that should be used to extract entries from the archive (only used when type is PATTERN).
voidsetResource(URL resource)
Set location of the resource to be localized.
voidsetSize(long size)
Set the size of the resource to be localized.
voidsetTimestamp(long timestamp)
Set the timestamp of the resource to be localized, used for verification.
voidsetType(LocalResourceType type)
Set the LocalResourceType of the resource to be localized.
voidsetVisibility(LocalResourceVisibility visibility)
Set the LocalResourceVisibility of the resource to be localized.