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

📄 swarm.activity.autodrop.protocol.html

📁 set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用描述的最为完备的指南性文档。从这里可以获得最细致的平台说明。
💻 HTML
字号:
<HTML><HEAD><TITLE>AutoDrop</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.53"><LINKREL="HOME"TITLE="Documentation Set for Swarm 2.1.1"HREF="set.html"><LINKREL="UP"TITLE="Activity Library"HREF="swarm.activity.sgml.reference.html"><LINKREL="PREVIOUS"TITLE="ActivityIndex"HREF="swarm.activity.activityindex.protocol.html"><LINKREL="NEXT"TITLE="CompoundAction"HREF="swarm.activity.compoundaction.protocol.html"></HEAD><BODYCLASS="REFENTRY"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Documentation Set for Swarm 2.1.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="swarm.activity.activityindex.protocol.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Reference III. Activity Library</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.activity.compoundaction.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.ACTIVITY.AUTODROP.PROTOCOL">AutoDrop</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN9649"></A><H2>Name</H2>AutoDrop&nbsp;--&nbsp; Specify that an action is dropped after being processed.</DIV><DIVCLASS="REFSECT1"><ANAME="AEN9652"></A><H2>Description</H2><P> The AutoDrop option specifies that as soon as any action been processed by a running activity, the action is removed from the plan and dropped so that it will never appear again.  This option is useful for plans that are created for a one-time use, never to be used again. This option is especially useful for a dynamic schedule that continually receives new actions to be executed at future times, but will never repeat actions that were previously scheduled.  Depending on the underlying implementation of the schedule, making sure the old actions get dropped using AutoDrop can considerably improve the performance of the schedule.</P><P> When an option like AutoDrop is used, or whenever the contents of an action plan undergo a significant amount of dynamic update, the action plan would ordinarily be intended only for a single point of use.  If AutoDrop is specified, a restriction against multiple active references is enforced.  An error will be raised if two activities ever attempt to process a plan with AutoDrop enabled at the same time.</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN9656"></A><H2>Protocols adopted by AutoDrop</H2><P>None</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN9659"></A><H2>Methods</H2><DIVCLASS="REFSECT2"><ANAME="AEN9661"></A><H3>Phase: Creating</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ACTIVITY.AUTODROP.METHOD.PC.M677"></A><P></P>- <BCLASS="FUNCPROTOTYPE">setAutoDrop:</B> (BOOL)<VARCLASS="PDPARAM">autoDrop</VAR> <BR><P></P></DIV></LI></UL></DIV><DIVCLASS="REFSECT2"><ANAME="AEN9673"></A><H3>Phase: Using</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ACTIVITY.AUTODROP.METHOD.PU.M317"></A><P></P>- (BOOL)<BCLASS="FUNCPROTOTYPE">getAutoDrop</B><BR><P></P></DIV></LI></UL></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="swarm.activity.activityindex.protocol.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.activity.compoundaction.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">ActivityIndex</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.activity.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">CompoundAction</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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