public final class RegionMetadataLoader extends Object
Modifier and Type | Method and Description |
---|---|
protected static void |
build() |
static RegionMetadata |
getRegionMetadata(Region region)
Loads the partition files from the
PARTITIONS_OVERRIDE_RESOURCE_PATH . |
static ServiceMetadata |
getServiceMetadata(String serviceEndpointPrefix) |
public static RegionMetadata getRegionMetadata(Region region)
PARTITIONS_OVERRIDE_RESOURCE_PATH
. If no files are present, then
loads the partition files from the PARTITIONS_RESOURCE_PATH
Builds the RegionMetadata
from the partition files.
public static ServiceMetadata getServiceMetadata(String serviceEndpointPrefix)
protected static void build()
Copyright © 2018. All rights reserved.