⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cwp3882.htm

📁 Perst开源实时数据库
💻 HTM
字号:
<!-- saved from url=(0007)http:// -->
<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><TITLE>Perst.GenericLink</TITLE><LINK REL=STYLESHEET HREF="../CommentReport.css" TYPE="text/css"></HEAD><BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image: url(../titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" ><DIV CLASS="PageHeading">Perst.GenericLink Interface</DIV><DIV CLASS="Description">
Common interface for all links
<P></DIV><IMG src="../GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2"><IMG src="../GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1"><DIV CLASS="Remarks"><SPAN CLASS="RemarkHdrX">Access: </SPAN>Public</DIV><TABLE CLASS="InfoTable" cellpadding=0 cellspacing=0><TR height=20><TD width=20>&nbsp;</TD><TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD><TD CLASS="TableLightLabel" WIDTH=206>Members</TD><TD CLASS="TableLightLabel" >Description</TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP3883.HTM" TARGET="CNTFRAME">Size</A></TD><TD CLASS="TableLightDesc"> Get number of the linked objects 
<P></TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP3884.HTM" TARGET="CNTFRAME">GetRaw</A></TD><TD CLASS="TableLightDesc"> Get related object by index without loading it.
Returned object can be used only to get it OID or to compare with other objects using
<code>equals</code> method
<P></TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP3885.HTM" TARGET="CNTFRAME">SetOwner</A></TD><TD CLASS="TableLightDesc">
Set owner object for this link. Owner is persistent object contaning this link.
This method is mostly used by storage itself, but can also used explicityl by programmer if
link component of one persistent object is assigned to component of another persistent object
<P></TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP3886.HTM" TARGET="CNTFRAME">Unpin</A></TD><TD CLASS="TableLightDesc">
Replace all direct references to linked objects with stubs. 
This method is needed tyo avoid memory exhaustion in case when 
there is a large numebr of objectys in databasse, mutually
refefencing each other (each object can directly or indirectly 
be accessed from other objects).
<P></TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP3887.HTM" TARGET="CNTFRAME">Pin</A></TD><TD CLASS="TableLightDesc">
Replace references to elements with direct references.
It will impove spped of manipulations with links, but it can cause
recursive loading in memory large number of objects and as a result - memory
overflow, because garabge collector will not be able to collect them
<P></TD><TD width=20>&nbsp;</TD></TR></TABLE></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -