SizeConstraints
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
محدودیت در اندازه لیست های هش.
نمایندگی JSON |
---|
{
"maxUpdateEntries": integer,
"maxDatabaseEntries": integer
} |
فیلدها |
---|
maxUpdateEntries | integer حداکثر اندازه در تعداد ورودی ها. این به روز رسانی شامل ورودی های بیشتر از این مقدار نخواهد بود، اما ممکن است به روز رسانی ورودی های کمتری از این مقدار داشته باشد. این باید حداقل 1024 باشد. اگر حذف شود یا صفر باشد، هیچ محدودیتی برای اندازه بهروزرسانی تنظیم نمیشود. |
maxDatabaseEntries | integer حداکثر تعداد ورودی هایی را که مشتری مایل است در پایگاه داده محلی لیست داشته باشد را تنظیم می کند. (سرور ممکن است باعث شود مشتری کمتر از این تعداد ورودی را ذخیره کند.) اگر حذف شود یا صفر باشد، هیچ محدودیتی برای اندازه پایگاه داده تعیین نمی شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe JSON schema defines constraints for hash list sizes, using \u003ccode\u003emaxUpdateEntries\u003c/code\u003e and \u003ccode\u003emaxDatabaseEntries\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emaxUpdateEntries\u003c/code\u003e limits the number of entries in an update, with a minimum value of 1024 and no limit if omitted or zero.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emaxDatabaseEntries\u003c/code\u003e limits the total entries allowed in the client's local database, with no limit if omitted or zero.\u003c/p\u003e\n"]]],["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"],null,["# SizeConstraints\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe constraints on the sizes of the hash lists.\n\n| JSON representation |\n|------------------------------------------------------------------------|\n| ``` { \"maxUpdateEntries\": integer, \"maxDatabaseEntries\": integer } ``` |\n\n| Fields ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `maxUpdateEntries` | `integer` The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will contain fewer entries than this value. This MUST be at least 1024. If omitted or zero, no update size limit is set. |\n| `maxDatabaseEntries` | `integer` Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client to store less than this number of entries.) If omitted or zero, no database size limit is set. |"]]