📄 jcodestination.html
字号:
<PRE>
long <B>getExpirationCheckPeriod</B>()</PRE>
<DL>
<DD>Returns the time in ms, after which a checker will close the expired connections.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the length of check period in ms</DL>
</DD>
</DL>
<HR>
<A NAME="getMaxGetClientTime()"><!-- --></A><H3>
getMaxGetClientTime</H3>
<PRE>
long <B>getMaxGetClientTime</B>()</PRE>
<DL>
<DD>Returns the max time in ms for the allocation of a connection to a destination in case if the peak limit is already reached.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>max wait time in ms</DL>
</DD>
</DL>
<HR>
<A NAME="getProperties()"><!-- --></A><H3>
getProperties</H3>
<PRE>
java.util.Properties <B>getProperties</B>()</PRE>
<DL>
<DD>Returns the complete property set describing the destination.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Properties object describing the destination.</DL>
</DD>
</DL>
<HR>
<A NAME="getAttributes()"><!-- --></A><H3>
getAttributes</H3>
<PRE>
<A HREF="../../../../com/sap/conn/jco/JCoAttributes.html" title="interface in com.sap.conn.jco">JCoAttributes</A> <B>getAttributes</B>()
throws <A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></PRE>
<DL>
<DD>Returns the attributes of the destination. If the destination will be initialized and a connection will be created if necessary.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>destination attributes
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></CODE> - if an exception occurs during the initialization of the destination</DL>
</DD>
</DL>
<HR>
<A NAME="getRepository()"><!-- --></A><H3>
getRepository</H3>
<PRE>
<A HREF="../../../../com/sap/conn/jco/JCoRepository.html" title="interface in com.sap.conn.jco">JCoRepository</A> <B>getRepository</B>()
throws <A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></PRE>
<DL>
<DD>Returns a repository instance that contains metadata for this destination. The repository will use either this destination instance for remote queries or the destination specified by repository destination property
<P>
<DD><DL>
<DT><B>Returns:</B><DD>JCoRepository instance
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></CODE> - if an exception occurs during the initialization of the destination used by repository instance<DT><B>See Also:</B><DD><A HREF="../../../../com/sap/conn/jco/ext/DestinationDataProvider.html#JCO_REPOSITORY_DEST"><CODE>DestinationDataProvider.JCO_REPOSITORY_DEST</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getRepositoryUser()"><!-- --></A><H3>
getRepositoryUser</H3>
<PRE>
java.lang.String <B>getRepositoryUser</B>()</PRE>
<DL>
<DD>Returns the user that is used for communication when executing repository communication with this destination if there is no repository destination configured.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the user used for repository communication</DL>
</DD>
</DL>
<HR>
<A NAME="createCustomDestination()"><!-- --></A><H3>
createCustomDestination</H3>
<PRE>
<A HREF="../../../../com/sap/conn/jco/JCoCustomDestination.html" title="interface in com.sap.conn.jco">JCoCustomDestination</A> <B>createCustomDestination</B>()</PRE>
<DL>
<DD>creates a new instance of custom destination with default values set from the current destination.<br/> It is possible to modify the user logon data on the customizable destination
<P>
<DD><DL>
<DT><B>Returns:</B><DD>JCoCustomDestination a new instance of JCoCustomDestination<DT><B>See Also:</B><DD><A HREF="../../../../com/sap/conn/jco/JCoCustomDestination.html#getUserLogonData()"><CODE>JCoCustomDestination.getUserLogonData()</CODE></A>,
<A HREF="../../../../com/sap/conn/jco/JCoCustomDestination.html#getSNCConfiguration()"><CODE>JCoCustomDestination.getSNCConfiguration()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="confirmTID(java.lang.String)"><!-- --></A><H3>
confirmTID</H3>
<PRE>
void <B>confirmTID</B>(java.lang.String tid)
throws <A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></PRE>
<DL>
<DD>Confirms that a transaction has been successful
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tid</CODE> - the ID of the transaction to confirm
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></CODE> - thrown if something went wrong during the confirmation</DL>
</DD>
</DL>
<HR>
<A NAME="createTID()"><!-- --></A><H3>
createTID</H3>
<PRE>
java.lang.String <B>createTID</B>()
throws <A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></PRE>
<DL>
<DD>Creates a new transaction ID
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the newly created transaction ID as a string
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></CODE> - thrown if something went wrong during the creation</DL>
</DD>
</DL>
<HR>
<A NAME="setThroughput(com.sap.conn.jco.JCoThroughput)"><!-- --></A><H3>
setThroughput</H3>
<PRE>
void <B>setThroughput</B>(<A HREF="../../../../com/sap/conn/jco/JCoThroughput.html" title="interface in com.sap.conn.jco">JCoThroughput</A> throughput)</PRE>
<DL>
<DD>sets the throughput instance to measure the call execute to this destination. The previously defined throughput instance will be overwritten.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>throughput</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="getThroughput()"><!-- --></A><H3>
getThroughput</H3>
<PRE>
<A HREF="../../../../com/sap/conn/jco/JCoThroughput.html" title="interface in com.sap.conn.jco">JCoThroughput</A> <B>getThroughput</B>()</PRE>
<DL>
<DD>Returns the throughput instance
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the throughput instance</DL>
</DD>
</DL>
<HR>
<A NAME="removeThroughput()"><!-- --></A><H3>
removeThroughput</H3>
<PRE>
void <B>removeThroughput</B>()</PRE>
<DL>
<DD>Removes the throughput instance from the destination. The measuring will be deactivated.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="ping()"><!-- --></A><H3>
ping</H3>
<PRE>
void <B>ping</B>()
throws <A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></PRE>
<DL>
<DD>Executes a connection test for this destination
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/sap/conn/jco/JCoException.html" title="class in com.sap.conn.jco">JCoException</A></CODE> - thrown if something went wrong during the ping initialized properly</DL>
</DD>
</DL>
<HR>
<A NAME="getMonitor()"><!-- --></A><H3>
getMonitor</H3>
<PRE>
<A HREF="../../../../com/sap/conn/jco/monitor/JCoDestinationMonitor.html" title="interface in com.sap.conn.jco.monitor">JCoDestinationMonitor</A> <B>getMonitor</B>()
throws <A HREF="../../../../com/sap/conn/jco/JCoRuntimeException.html" title="class in com.sap.conn.jco">JCoRuntimeException</A></PRE>
<DL>
<DD>Return a monitor instance describes the client connections created by the JCo runtime for this destination instance
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a monitor instance
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../com/sap/conn/jco/JCoRuntimeException.html" title="class in com.sap.conn.jco">JCoRuntimeException</A></CODE> - in case of destination instance is already removed or was not initialized properly</DL>
</DD>
</DL>
<HR>
<A NAME="getRepositoryDestinationMonitor()"><!-- --></A><H3>
getRepositoryDestinationMonitor</H3>
<PRE>
<A HREF="../../../../com/sap/conn/jco/monitor/JCoDestinationMonitor.html" title="interface in com.sap.conn.jco.monitor">JCoDestinationMonitor</A> <B>getRepositoryDestinationMonitor</B>()</PRE>
<DL>
<DD>Return a monitor instance describes the client connections created by the JCo runtime for the repository queries done via this destination instance. This method may return null, if this destination wont be used for the metadata queries.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a monitor instance or null</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JCoDestination.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/sap/conn/jco/JCoCustomRepository.QueryMode.html" title="enum in com.sap.conn.jco"><B>PREV CLASS</B></A>
<A HREF="../../../../com/sap/conn/jco/JCoDestinationManager.html" title="class in com.sap.conn.jco"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/sap/conn/jco/JCoDestination.html" target="_top"><B>FRAMES</B></A>
<A HREF="JCoDestination.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright © 2008 SAP AG. All Rights Reserved.</i>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -