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 and Description |
---|---|
abstract LocalResourceType |
LocalResource.getType()
Get the
LocalResourceType of the resource to be localized. |
static LocalResourceType |
LocalResourceType.valueOf(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 and 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,
String pattern) |
static LocalResource |
LocalResource.newInstance(URL url,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp,
String pattern,
boolean shouldBeUploadedToSharedCache) |
abstract void |
LocalResource.setType(LocalResourceType type)
Set the
LocalResourceType of the resource to be localized. |
Copyright © 2024 Apache Software Foundation. All rights reserved.