org.apache.hadoop.conf.Configurablepublic class TrustedChannelResolver
extends java.lang.Object
implements org.apache.hadoop.conf.Configurable
| Constructor | Description |
|---|---|
TrustedChannelResolver() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
|
static TrustedChannelResolver |
getInstance(org.apache.hadoop.conf.Configuration conf) |
Returns an instance of TrustedChannelResolver.
|
boolean |
isTrusted() |
Return boolean value indicating whether a channel is trusted or not
from a client's perspective.
|
boolean |
isTrusted(java.net.InetAddress peerAddress) |
Identify boolean value indicating whether a channel is trusted or not.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public static TrustedChannelResolver getInstance(org.apache.hadoop.conf.Configuration conf)
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic boolean isTrusted()
public boolean isTrusted(java.net.InetAddress peerAddress)
peerAddress - address of the peerCopyright © 2008–2025 Apache Software Foundation. All rights reserved.