| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract LocalResourceType |
LocalResource.getType() |
Get the
LocalResourceType of the resource to be localized. |
static LocalResourceType |
LocalResourceType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static LocalResourceType[] |
LocalResourceType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
static LocalResource |
LocalResource.newInstance(URL url,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp) |
|
static LocalResource |
LocalResource.newInstance(URL url,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp,
boolean shouldBeUploadedToSharedCache) |
|
static LocalResource |
LocalResource.newInstance(URL url,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp,
java.lang.String pattern) |
|
static LocalResource |
LocalResource.newInstance(URL url,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp,
java.lang.String pattern,
boolean shouldBeUploadedToSharedCache) |
|
abstract void |
LocalResource.setType(LocalResourceType type) |
Set the
LocalResourceType of the resource to be localized. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.