OrderedResolverHashFirstResolverpublic class HashResolver extends java.lang.Object implements OrderedResolver
| Modifier and Type | Field | Description |
|---|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor | Description |
|---|---|
HashResolver() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
extractTempFileName(java.lang.String input) |
Some files use a temporary naming pattern.
|
java.lang.String |
getFirstNamespace(java.lang.String path,
PathLocation loc) |
Use the result from consistent hashing locator to prioritize the locations
for a path.
|
public java.lang.String getFirstNamespace(java.lang.String path,
PathLocation loc)
getFirstNamespace in interface OrderedResolverpath - Path to check.loc - Federated location with multiple destinations.@VisibleForTesting public static java.lang.String extractTempFileName(java.lang.String input)
input - Input string.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.