org.apache.hadoop.hdfs.shortcircuit
Class DomainSocketFactory
java.lang.Object
org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory
public class DomainSocketFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainSocketFactory
public DomainSocketFactory(DFSClient.Conf conf)
getPathInfo
public DomainSocketFactory.PathInfo getPathInfo(InetSocketAddress addr,
DFSClient.Conf conf)
- Get information about a domain socket path.
- Parameters:
addr
- The inet address to use.conf
- The client configuration.
- Returns:
- Information about the socket path.
createSocket
public org.apache.hadoop.net.unix.DomainSocket createSocket(DomainSocketFactory.PathInfo info,
int socketTimeout)
disableShortCircuitForPath
public void disableShortCircuitForPath(String path)
disableDomainSocketPath
public void disableDomainSocketPath(String path)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.