org.apache.tez.runtime.library.shuffle.common
Class Fetcher
java.lang.Object
org.apache.tez.runtime.library.shuffle.common.Fetcher
- All Implemented Interfaces:
- Callable<FetchResult>
public class Fetcher
- extends Object
- implements Callable<FetchResult>
Responsible for fetching inputs served by the ShuffleHandler for a single
host. Construct using Fetcher.FetcherBuilder
call
public FetchResult call()
throws Exception
- Specified by:
call in interface Callable<FetchResult>
- Throws:
Exception
openConnection
protected HttpURLConnection openConnection(URL url)
throws IOException
- Throws:
IOException
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2014 Apache Software Foundation. All rights reserved.