Class DomainSocketFactory

java.lang.Object
org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory

public class DomainSocketFactory extends Object
  • Constructor Details

  • Method Details

    • getPathInfo

      Get information about a domain socket path.
      Parameters:
      addr - The inet address to use.
      conf - The client configuration.
      Returns:
      Information about the socket path.
      Throws:
      IOException
    • 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)
    • clearPathMap

      @VisibleForTesting public void clearPathMap()
    • getPathExpireSeconds

      public long getPathExpireSeconds()