Language
Asturianu (ast)
Catal? (ca)
?e?tina (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Espa?ol (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Fran?ais (fr)
G?idhlig (gd)
Galego (gl)
Italiano (it)
Lietuvi? (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Portugu?s [do Brasil] (pt-BR)
Portugu?s [Europeu] (pt)
Rom?n? (ro)
Sloven?ina (sk)
Sloven??ina (sl)
Suomi (fi)
Svenska (sv)
Yкра?нська (uk)
Ti?ng Vi?t (vi)
T?rk?e (tr)
???? (om)
??????? (hy)
Ελληνικ? (el)
български език (bg)
Русский (ru)
Cрпски [?ирилицом] (sr)
????? (he)
?????? (hi)
????????? (km)
????? (ta)
??????? (th)
?体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
??? (ko)
The 解放する/自由な and Open 生産性 控訴
Methods' 詳細(に述べる)s
createCommandIdentifier
long
createCommandIdentifier ();
Description
creates a unique identifier for a 命令(する).
This identifier can be used to 中止する the 死刑執行 of the 命令(する)
accociated with that identifier. 公式文書,認める that it is 一般に not
necessary to 得る a new id for each 命令(する), because 命令(する)s are
遂行する/発効させるd synchronously. So the id for a 命令(する) is valid again after a
命令(する) 以前 associated with this id has finished. In fact you
only should get one identifier per thread and 割り当てる it to every
命令(する) 遂行する/発効させるd by that thread.
Also, after a call to XCommandProcessor ::中止する , an
identifier should not be used any longer (and instead be 解放(する)d by a
call to XCommandProcessor2 ::releaseCommandIdentifier ),
because it may 井戸/弁護士席 中止する all その上の calls to
XCommandProcessor ::遂行する/発効させる .
To 避ける ever-増加するing 資源 消費, the identifier
should be 解放(する)d 経由で
XCommandProcessor2 ::releaseCommandIdentifier
when it is no longer used.
Returns
a 命令(する) identifier.
遂行する/発効させる
Description
遂行する/発効させるs a 命令(する).
ありふれた 命令(する) 鮮明度/定義s can be 設立する in the soecification of the
service Content .
Parameter aCommand
is the 命令(する) to 遂行する/発効させる.
Parameter CommandId
is a unique id for the 命令(する). This identifier was 得るd by calling
XCommandProcessor ::createCommandIdentifier . A value of
無 can be used, if the 命令(する) never shall be 中止するd. Different
threads MUST NOT 株 one 命令(する) identifier (except 0
).
This can easily 達成するd, if every thread that wants to use an
XCommandProcessor , 得るs 正確に/まさに one identifier
using XCommandProcessor ::createCommandIdentifier .
This identifier can be used for every call to
XCommandProcessor ::遂行する/発効させる done by that thread.
Parameter 環境
is the 死刑執行 環境.
Returns
the result によれば the specification of the 命令(する).
Throws
CommandAbortedException
to 示す that the 命令(する) was 中止するd.
Throws
DuplicateCommandIdentifierException
to 示す that two threads tried to use the same 命令(する) identifier
Throws
Exception
if an error occured during the 死刑執行 of the 命令(する).
中止する
[oneway] 無効の
中止する (
[in] long
CommandId );
Description
ends the 命令(する) associated with the given id.
Not every 命令(する) can be 中止するd. It's up to the 実施
to decide whether this method will 現実に end the 過程ing of
the 命令(する) or 簡単に do nothing.
Parameter CommandId
is a unique id for the 命令(する) to 中止する. This must be the identifier
passed to XCommandProcessor ::遂行する/発効させる for the 命令(する)
to 中止する.
最高の,を越す of Page Copyright © 2013, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.