[120] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"> |
---|
| 2 | <HTML> |
---|
| 3 | <HEAD> |
---|
| 4 | <meta name="generator" content="JDiff v1.0.9"> |
---|
| 5 | <!-- Generated by the JDiff Javadoc doclet --> |
---|
| 6 | <!-- (http://www.jdiff.org) --> |
---|
| 7 | <meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared."> |
---|
| 8 | <meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet"> |
---|
| 9 | <TITLE> |
---|
| 10 | org.apache.hadoop.net.NetUtils |
---|
| 11 | </TITLE> |
---|
| 12 | <LINK REL="stylesheet" TYPE="text/css" HREF="../stylesheet-jdiff.css" TITLE="Style"> |
---|
| 13 | </HEAD> |
---|
| 14 | <BODY> |
---|
| 15 | <!-- Start of nav bar --> |
---|
| 16 | <TABLE summary="Navigation bar" BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
---|
| 17 | <TR> |
---|
| 18 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 19 | <TABLE summary="Navigation bar" BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
---|
| 20 | <TR ALIGN="center" VALIGN="top"> |
---|
| 21 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../api/org/apache/hadoop/net/NetUtils.html" target="_top"><FONT CLASS="NavBarFont1"><B><tt>hadoop 0.20.1</tt></B></FONT></A> </TD> |
---|
| 22 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="changes-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 23 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="pkg_org.apache.hadoop.net.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 24 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 25 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="jdiff_statistics.html"><FONT CLASS="NavBarFont1"><B>Statistics</B></FONT></A> </TD> |
---|
| 26 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="jdiff_help.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 27 | </TR> |
---|
| 28 | </TABLE> |
---|
| 29 | </TD> |
---|
| 30 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Generated by<br><a href="http://www.jdiff.org" class="staysblack" target="_top">JDiff</a></b></EM></TD> |
---|
| 31 | </TR> |
---|
| 32 | <TR> |
---|
| 33 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 34 | <A HREF="org.apache.hadoop.net.DNSToSwitchMapping.html"><B>PREV CLASS</B></A> |
---|
| 35 | <A HREF="org.apache.hadoop.net.NetworkTopology.html"><B>NEXT CLASS</B></A> |
---|
| 36 | |
---|
| 37 | <A HREF="../changes.html" TARGET="_top"><B>FRAMES</B></A> |
---|
| 38 | <A HREF="org.apache.hadoop.net.NetUtils.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> |
---|
| 39 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: |
---|
| 40 | CONSTRUCTORS | |
---|
| 41 | <a href="#methods">METHODS</a> | |
---|
| 42 | FIELDS |
---|
| 43 | </FONT></TD> |
---|
| 44 | </TR> |
---|
| 45 | </TABLE> |
---|
| 46 | <HR> |
---|
| 47 | <!-- End of nav bar --> |
---|
| 48 | <H2> |
---|
| 49 | Class org.apache.hadoop.net.<A HREF="../../api/org/apache/hadoop/net/NetUtils.html" target="_top"><tt>NetUtils</tt></A> |
---|
| 50 | </H2> |
---|
| 51 | <a NAME="constructors"></a> |
---|
| 52 | <a NAME="methods"></a> |
---|
| 53 | <p> |
---|
| 54 | <a NAME="Added"></a> |
---|
| 55 | <TABLE summary="Added Methods" BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 56 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 57 | <TD VALIGN="TOP" COLSPAN=2><FONT SIZE="+1"><B>Added Methods</B></FONT></TD> |
---|
| 58 | </TR> |
---|
| 59 | <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> |
---|
| 60 | <TD VALIGN="TOP" WIDTH="25%"> |
---|
| 61 | <A NAME="org.apache.hadoop.net.NetUtils.connect_added(java.net.Socket, java.net.SocketAddress, int)"></A> |
---|
| 62 | <nobr><code>void</code> <A HREF="../../api/org/apache/hadoop/net/NetUtils.html#connect(java.net.Socket, java.net.SocketAddress, int)" target="_top"><tt>connect</tt></A>(<code>Socket,</nobr> SocketAddress<nobr>,</nobr> int<nobr><nobr></code>)</nobr> |
---|
| 63 | </TD> |
---|
| 64 | <TD VALIGN="TOP">This is a drop-in replacement for <A HREF="../../api/Socket#connect(SocketAddress.html" target="_top">int)</A> In the case of normal sockets that don't have associated channels this just invokes <code>socket.connect(endpoint timeout)</code>.</TD> |
---|
| 65 | </TR> |
---|
| 66 | </TABLE> |
---|
| 67 | |
---|
| 68 | <p> |
---|
| 69 | <a NAME="Changed"></a> |
---|
| 70 | <TABLE summary="Changed Methods" BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
---|
| 71 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 72 | <TD VALIGN="TOP" COLSPAN=3><FONT SIZE="+1"><B>Changed Methods</B></FONT></TD> |
---|
| 73 | </TR> |
---|
| 74 | <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> |
---|
| 75 | <TD VALIGN="TOP" WIDTH="25%"> |
---|
| 76 | <A NAME="org.apache.hadoop.net.NetUtils.getAllStaticResolutions_changed()"></A> |
---|
| 77 | <nobr><code>List</code> <A HREF="../../api/org/apache/hadoop/net/NetUtils.html#getAllStaticResolutions()" target="_top"><tt>getAllStaticResolutions</tt></A>() </nobr> |
---|
| 78 | </TD> |
---|
| 79 | <TD VALIGN="TOP" WIDTH="30%"> |
---|
| 80 | Change in return type from <code>String[]></code> to <code>List</code>.<br> |
---|
| 81 | </TD> |
---|
| 82 | <TD VALIGN="TOP">This is used to get all the resolutions that were added using <A HREF="../../api/NetUtils#addStaticResolution(String.html" target="_top">String)</A> The return value is a List each element of which contains an array of String of the form String[0]=hostname String[1]=resolved-hostname </TD> |
---|
| 83 | </TR> |
---|
| 84 | <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> |
---|
| 85 | <TD VALIGN="TOP" WIDTH="25%"> |
---|
| 86 | <A NAME="org.apache.hadoop.net.NetUtils.getSocketFactory_changed(org.apache.hadoop.conf.Configuration, java.lang.Class)"></A> |
---|
| 87 | <nobr><code>SocketFactory</code> <A HREF="../../api/org/apache/hadoop/net/NetUtils.html#getSocketFactory(org.apache.hadoop.conf.Configuration, java.lang.Class)" target="_top"><tt>getSocketFactory</tt></A>(<code>Configuration,</nobr> Class<nobr><nobr></code>) </nobr> |
---|
| 88 | </TD> |
---|
| 89 | <TD VALIGN="TOP" WIDTH="30%"> |
---|
| 90 | Change in signature from (<code>Configuration, Class<?></code>) to (<code>Configuration, Class</code>).<br> |
---|
| 91 | </TD> |
---|
| 92 | <TD VALIGN="TOP">Get the socket factory for the given class according to its configuration parameter <tt>hadoop.rpc.socket.factory.class.<ClassName></tt>.</TD> |
---|
| 93 | </TR> |
---|
| 94 | <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> |
---|
| 95 | <TD VALIGN="TOP" WIDTH="25%"> |
---|
| 96 | <A NAME="org.apache.hadoop.net.NetUtils.normalizeHostNames_changed(java.util.Collection)"></A> |
---|
| 97 | <nobr><code>List</code> <A HREF="../../api/org/apache/hadoop/net/NetUtils.html#normalizeHostNames(java.util.Collection)" target="_top"><tt>normalizeHostNames</tt></A>(<code>Collection</code>) </nobr> |
---|
| 98 | </TD> |
---|
| 99 | <TD VALIGN="TOP" WIDTH="30%"> |
---|
| 100 | Change in return type from <code>String></code> to <code>List</code>.<br> |
---|
| 101 | Change in signature from <code>String></code> to <code>Collection</code>.<br> |
---|
| 102 | </TD> |
---|
| 103 | <TD VALIGN="TOP">Given a collection of string representation of hosts return a list of corresponding IP addresses in the textual representation.</TD> |
---|
| 104 | </TR> |
---|
| 105 | </TABLE> |
---|
| 106 | |
---|
| 107 | <a NAME="fields"></a> |
---|
| 108 | <HR> |
---|
| 109 | <!-- Start of nav bar --> |
---|
| 110 | <TABLE summary="Navigation bar" BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
---|
| 111 | <TR> |
---|
| 112 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 113 | <TABLE summary="Navigation bar" BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
---|
| 114 | <TR ALIGN="center" VALIGN="top"> |
---|
| 115 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../api/org/apache/hadoop/net/NetUtils.html" target="_top"><FONT CLASS="NavBarFont1"><B><tt>hadoop 0.20.1</tt></B></FONT></A> </TD> |
---|
| 116 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="changes-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 117 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="pkg_org.apache.hadoop.net.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 118 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 119 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="jdiff_statistics.html"><FONT CLASS="NavBarFont1"><B>Statistics</B></FONT></A> </TD> |
---|
| 120 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="jdiff_help.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 121 | </TR> |
---|
| 122 | </TABLE> |
---|
| 123 | </TD> |
---|
| 124 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3></TD> |
---|
| 125 | </TR> |
---|
| 126 | <TR> |
---|
| 127 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 128 | <A HREF="org.apache.hadoop.net.DNSToSwitchMapping.html"><B>PREV CLASS</B></A> |
---|
| 129 | <A HREF="org.apache.hadoop.net.NetworkTopology.html"><B>NEXT CLASS</B></A> |
---|
| 130 | |
---|
| 131 | <A HREF="../changes.html" TARGET="_top"><B>FRAMES</B></A> |
---|
| 132 | <A HREF="org.apache.hadoop.net.NetUtils.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD> |
---|
| 133 | <TD BGCOLOR="0xFFFFFF" CLASS="NavBarCell3"></TD> |
---|
| 134 | </TR> |
---|
| 135 | </TABLE> |
---|
| 136 | <HR> |
---|
| 137 | <!-- End of nav bar --> |
---|
| 138 | </BODY> |
---|
| 139 | </HTML> |
---|