Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
سجلّ التنظيف
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الطرق المكتسَبة
من الفئة
java.lang.Object
|
الكائن
|
clone()
|
|
منطقي
|
|
|
باطلة
|
Finishize()
|
|
نهائي
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
إلغاء
|
Notify()
|
|
إلغاء
|
NotifyAll()
|
|
سلسلة
|
toString()
|
|
إلغاء
|
لمدة الانتظار(long arg0, int arg1)
|
|
إلغاء
|
[ مستخدم] (وسيطة طويلة)
|
|
إلغاء
|
Pending()
|
الأشغال العامة
Public
ClearupRegistry
()
Public
ClearupRegistry
(HashSet<CleanupItem<T>> cleanupItemHashSet, ReferenceQueue<T> referenceQueue)
المَعلمات
| cleanupItemHashSet |
|
| قائمة انتظار المراجع |
|
الأساليب العامة
Public
Empty
disstroyAllResources
()
تجاهل عدد المراجع وإصدار أي موارد مرتبطة
Public
long
reclaimreleasedResources
()
Public
Empty
register
(TtrackingObject, Runnable cleanupCallback)
المَعلمات
| عنصر تتبُّعه |
الاستهداف الذي سيتم تتبعه. |
| تنظيف المكالمة |
سيتم طلبها بعد التخلص من trackedOBject.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2022-09-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2022-09-26 (حسب التوقيت العالمي المتفَّق عليه)"],[],["`CleanupRegistry` manages object cleanup after garbage collection. It uses a `ReferenceQueue` to track objects and runs a specified `Runnable` when each object is collected. Key actions include: `register` to add objects to the queue with a cleanup callback, `reclaimReleasedResources` to check for and process collected objects, and `destroyAllResources` to force release resources. It has two constructors: a default one and one that takes a `HashSet` and `ReferenceQueue` to initialize.\n"]]