📄 arcsdeconnectionpool.html
字号:
<A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#close()">close</A></B>()</CODE><BR> closes all connections in this pool</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getAvailableCount()">getAvailableCount</A></B>()</CODE><BR> TODO: Document this method!</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getAvailableLayerNames()">getAvailableLayerNames</A></B>()</CODE><BR> Gets the list of available layer names on the database</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionConfig.html" title="class in org.geotools.arcsde.pool">ArcSDEConnectionConfig</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getConfig()">getConfig</A></B>()</CODE><BR> DOCUMENT ME!</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/arcsde/pool/ArcSDEPooledConnection.html" title="class in org.geotools.arcsde.pool">ArcSDEPooledConnection</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getConnection()">getConnection</A></B>()</CODE><BR> DOCUMENT ME!</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getInUseCount()">getInUseCount</A></B>()</CODE><BR> TODO: Document this method!</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getPoolSize()">getPoolSize</A></B>()</CODE><BR> returns the number of actual connections holded by this connection pool. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> SeLayer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getSdeLayer(com.esri.sde.sdk.client.SeConnection, java.lang.String)">getSdeLayer</A></B>(SeConnection conn, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName)</CODE><BR> DOCUMENT ME!</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> SeLayer</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getSdeLayer(java.lang.String)">getSdeLayer</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> SeTable</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getSdeTable(com.esri.sde.sdk.client.SeConnection, java.lang.String)">getSdeTable</A></B>(SeConnection conn, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> tableName)</CODE><BR> DOCUMENT ME!</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> SeTable</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#getSdeTable(java.lang.String)">getSdeTable</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> tableName)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionPool.html#isClosed()">isClosed</A></B>()</CODE><BR> DOCUMENT ME!</TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="LOGGER"><!-- --></A><H3>LOGGER</H3><PRE>protected static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/logging/Logger.html" title="class or interface in java.util.logging">Logger</A> <B>LOGGER</B></PRE><DL><DD>package's logger<P><DL></DL></DL><HR><A NAME="INFO_LOG_LEVEL"><!-- --></A><H3>INFO_LOG_LEVEL</H3><PRE>protected static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/logging/Level.html" title="class or interface in java.util.logging">Level</A> <B>INFO_LOG_LEVEL</B></PRE><DL><DD>DOCUMENT ME!<P><DL></DL></DL><HR><A NAME="DEFAULT_CONNECTIONS"><!-- --></A><H3>DEFAULT_CONNECTIONS</H3><PRE>public static final int <B>DEFAULT_CONNECTIONS</B></PRE><DL><DD>default number of connections a pool creates at first population<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.arcsde.pool.ArcSDEConnectionPool.DEFAULT_CONNECTIONS">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_MAX_CONNECTIONS"><!-- --></A><H3>DEFAULT_MAX_CONNECTIONS</H3><PRE>public static final int <B>DEFAULT_MAX_CONNECTIONS</B></PRE><DL><DD>default number of maximun allowable connections a pool can hold<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.arcsde.pool.ArcSDEConnectionPool.DEFAULT_MAX_CONNECTIONS">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_MAX_WAIT_TIME"><!-- --></A><H3>DEFAULT_MAX_WAIT_TIME</H3><PRE>public static final int <B>DEFAULT_MAX_WAIT_TIME</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.arcsde.pool.ArcSDEConnectionPool.DEFAULT_MAX_WAIT_TIME">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ArcSDEConnectionPool(org.geotools.arcsde.pool.ArcSDEConnectionConfig)"><!-- --></A><H3>ArcSDEConnectionPool</H3><PRE>public <B>ArcSDEConnectionPool</B>(<A HREF="../../../../org/geotools/arcsde/pool/ArcSDEConnectionConfig.html" title="class in org.geotools.arcsde.pool">ArcSDEConnectionConfig</A> config) throws <A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></PRE><DL><DD>Creates a new SdeConnectionPool object with the connection parameters holded by <code>config</code><P><DT><B>Parameters:</B><DD><CODE>config</CODE> - holds connection options such as server, user and password, as well as tuning options as maximun number of connections allowed<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE> - DOCUMENT ME!<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - DOCUMENT ME!</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getPoolSize()"><!-- --></A><H3>getPoolSize</H3><PRE>public int <B>getPoolSize</B>()</PRE><DL><DD>returns the number of actual connections holded by this connection pool. In other words, the sum of used and available connections, regardless<P><DD><DL><DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><HR><A NAME="close()"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -