Package | Description |
---|---|
org.apache.hadoop.yarn.api.records |
Modifier and Type | Method and Description |
---|---|
abstract URL |
LocalResource.getResource()
Get the location of the resource to be localized.
|
static URL |
URL.newInstance(String scheme,
String host,
int port,
String file) |
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.setResource(URL resource)
Set location of the resource to be localized.
|
Copyright © 2018 Apache Software Foundation. All rights reserved.