SizeConstraints
ข้อจำกัดเกี่ยวกับขนาดของรายการแฮช
การแสดง JSON |
{
"maxUpdateEntries": integer,
"maxDatabaseEntries": integer
} |
ช่อง |
maxUpdateEntries |
integer
ขนาดสูงสุดในจำนวนรายการ การอัปเดตจะมีรายการน้อยกว่าค่านี้ แต่เป็นไปได้ว่าการอัปเดตจะมีรายการน้อยกว่าค่านี้ ค่านี้ต้องเป็น 1024 เป็นอย่างน้อย หากละเว้นหรือเป็น 0 แสดงว่าไม่มีการตั้งค่าขนาดสูงสุดของการอัปเดต
|
maxDatabaseEntries |
integer
ตั้งค่าจำนวนรายการสูงสุดที่ไคลเอ็นต์จะมีได้ในฐานข้อมูลในเครื่องสำหรับรายการ (เซิร์ฟเวอร์อาจเป็นสาเหตุให้ไคลเอ็นต์จัดเก็บรายการไว้น้อยกว่าจำนวนนี้) หากละเว้นหรือเป็น 0 แสดงว่าไม่มีการตั้งค่าขีดจำกัดของขนาดฐานข้อมูล
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-11 UTC
[null,null,["อัปเดตล่าสุด 2024-10-11 UTC"],[[["The JSON schema defines constraints for hash list sizes, using `maxUpdateEntries` and `maxDatabaseEntries`."],["`maxUpdateEntries` limits the number of entries in an update, with a minimum value of 1024 and no limit if omitted or zero."],["`maxDatabaseEntries` limits the total entries allowed in the client's local database, with no limit if omitted or zero."]]],["The content defines the structure for specifying constraints on hash list sizes using a JSON object with two integer fields: `maxUpdateEntries` and `maxDatabaseEntries`. `maxUpdateEntries` sets the maximum number of entries in an update, with a minimum of 1024. `maxDatabaseEntries` limits the number of entries a client is willing to store locally. Omitting either field or setting it to zero indicates no size limit for that aspect.\n"]]