বরাদ্দ তথ্য

public class AllocationInfo
extends Object implements IStackTraceInfo

java.lang.Object
com.android.tradefed.device.server.AllocationInfo


বরাদ্দের তথ্য ধারণ করে।

সারসংক্ষেপ

নেস্টেড ক্লাস

class AllocationInfo.AllocationSorter

জনসাধারণের পদ্ধতি

boolean allocatedClassMatches (String pattern, Locale locale)
int compareTo ( AllocationInfo otherAlloc)
boolean filter (String filter, boolean fullTrace, Locale locale)

প্রদত্ত ফিল্টারটি যদি এই অ্যালোকেশন তথ্যের সাথে কেস-ইনসেনসিটিভভাবে (প্রদত্ত লোকেল অনুযায়ী) মেলে, তাহলে 'ট্রু' রিটার্ন করে।

int getAllocNumber ()

বরাদ্দ নম্বরটি ফেরত দেয়।

String getAllocatedClass ()

বরাদ্দকৃত ক্লাসের নাম ফেরত দেয়।

String getAllocationSite ()
String getFirstTraceClassName ()
String getFirstTraceMethodName ()
List<String> getMatchingStackFrames (String filter, boolean fullTrace, Locale locale)
int getSize ()

বরাদ্দের আকার ফেরত দেয়।

StackTraceElement[] getStackTrace ()

স্ট্যাক ট্রেস ফেরত দেয়।

short getThreadId ()

যে থ্রেডটি মেমরি বরাদ্দ করেছে, তার আইডি ফেরত দেয়।

জনসাধারণের পদ্ধতি

বরাদ্দকৃত ক্লাস ম্যাচ

public boolean allocatedClassMatches (String pattern, 
                Locale locale)

প্যারামিটার
pattern String

locale Locale

ফেরত
boolean

তুলনা করুন

public int compareTo (AllocationInfo otherAlloc)

প্যারামিটার
otherAlloc AllocationInfo

ফেরত
int

ফিল্টার

public boolean filter (String filter, 
                boolean fullTrace, 
                Locale locale)

প্রদত্ত ফিল্টারটি যদি এই অ্যালোকেশন তথ্যের সাথে কেস-ইনসেনসিটিভভাবে (প্রদত্ত লোকেল অনুযায়ী) মেলে, তাহলে 'ট্রু' রিটার্ন করে।

প্যারামিটার
filter String

fullTrace boolean

locale Locale

ফেরত
boolean

getAllocNumber

public int getAllocNumber ()

বরাদ্দ নম্বর ফেরত দেয়। বরাদ্দগুলো ঘটার ক্রম অনুসারে সংখ্যায়িত করা হয়, যেখানে সর্বশেষটির নম্বর সর্বোচ্চ থাকে।

ফেরত
int

getAllocatedClass

public String getAllocatedClass ()

বরাদ্দকৃত ক্লাসের নাম ফেরত দেয়।

ফেরত
String

getAllocationSite

public String getAllocationSite ()

ফেরত
String

getFirstTraceClassName

public String getFirstTraceClassName ()

ফেরত
String

getFirstTraceMethodName

public String getFirstTraceMethodName ()

ফেরত
String

getMatchingStackFrames

public List<String> getMatchingStackFrames (String filter, 
                boolean fullTrace, 
                Locale locale)

প্যারামিটার
filter String

fullTrace boolean

locale Locale

ফেরত
List<String>

আকার পান

public int getSize ()

বরাদ্দের আকার ফেরত দেয়।

ফেরত
int

স্ট্যাক ট্রেস পান

public StackTraceElement[] getStackTrace ()

স্ট্যাক ট্রেস ফেরত দেয়। এটি null হতে পারে।

ফেরত
StackTraceElement[]

থ্রেড আইডি পান

public short getThreadId ()

যে থ্রেডটি মেমরি বরাদ্দ করেছে, তার আইডি ফেরত দেয়।

ফেরত
short