Google is committed to advancing racial equity for Black communities.
See how.
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
nl::Weave::Profiles::DataManagement_Current::CommandSender::SynchronizedTraitState
#include <src/lib/profiles/data-management/Current/CommandSender.h>
總結
注意:此類別有助於瞭解相關的 TraitDataSink 是否攔截了指令的所有副作用。CommandSender 類別會負責填寫要求傳送和接收要求時所需的必要資訊。
應用程式可以使用以下兩種模式:a) 在開始傳送指令前,資料接收器需具備有效的資料版本 b) 開始傳送指令之前,都沒有有效的資料版本。
在前一個案例中,傳送指令前的接收器版本是已知的,因此可在日後準確判斷接收器是否遭到攔截時。
在後續情況下,先前版本如果缺少先前版本,會導致邏輯得出推論的同步處理已還原至視窗的經驗法則。這是因為隨機資料版本出現,可能會導致發布商收到的資料版本數量減少到後續的命令指令接收。
公開函式
有資料已擷取
bool HasDataCaughtUp(
void
)
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。Thread 是 Thread Group, Inc. 的註冊商標。
上次更新時間:2020-08-28 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]