Stay organized with collections
Save and categorize content based on your preferences.
IoOveruseStats
public
final
class
IoOveruseStats
extends Object
implements
Parcelable
java.lang.Object
|
↳ |
android.car.watchdog.IoOveruseStats
|
Disk I/O overuse stats for a package.
Summary
Inherited constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR
|
int |
PARCELABLE_ELIDE_DUPLICATES
|
int |
PARCELABLE_STABILITY_LOCAL
|
int |
PARCELABLE_STABILITY_VINTF
|
int |
PARCELABLE_WRITE_RETURN_VALUE
|
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
default
int
|
getStability()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
Public methods
describeContents
public int describeContents ()
getDurationInSeconds
public long getDurationInSeconds ()
Duration of the time period, in seconds.
getRemainingWriteBytes
public PerStateBytes getRemainingWriteBytes ()
Number of write bytes remaining in each application or system state.
On exceeding these limit in at least one system or application state, the package may be
killed if ERROR(/#mKillableOnOveruse)
is true
.
The ERROR(/#mDurationInSeconds)
does not apply to this field.
getStartTime
public long getStartTime ()
Start time of the time period, in epoch seconds.
getTotalBytesWritten
public long getTotalBytesWritten ()
Aggregated number of bytes written to disk by the package during the given period.
getTotalOveruses
public long getTotalOveruses ()
Total times the package has written to disk beyond the allowed write bytes during the given
period.
getTotalTimesKilled
public long getTotalTimesKilled ()
Total times the package was killed during the given period due to disk I/O overuse.
isKillableOnOveruse
public boolean isKillableOnOveruse ()
Package may be killed on disk I/O overuse.
Disk I/O overuse is triggered on exceeding ERROR(/#mRemainingWriteBytes)
.
toString
public String toString ()
writeToParcel
public void writeToParcel (Parcel dest,
int flags)
Parameters |
dest |
Parcel |
flags |
int |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-17 UTC."],[],[],null,["# IoOveruseStats\n\nSummary: [Inherited Constants](#inhconstants) \\| [Fields](#lfields) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nIoOveruseStats\n==============\n\n\n`\npublic\n\nfinal\n\nclass\nIoOveruseStats\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\nimplements\n\nParcelable\n\n\n`\n\n|---|-------------------------------------|\n| java.lang.Object ||\n| ↳ | android.car.watchdog.IoOveruseStats |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nDisk I/O overuse stats for a package.\n\nSummary\n-------\n\n| ### Inherited constants |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| From interface `android.os.Parcelable` |-------|---------------------------------| | `int` | `CONTENTS_FILE_DESCRIPTOR` | | `int` | `PARCELABLE_ELIDE_DUPLICATES` | | `int` | `PARCELABLE_STABILITY_LOCAL` | | `int` | `PARCELABLE_STABILITY_VINTF` | | `int` | `PARCELABLE_WRITE_RETURN_VALUE` | |\n\n| ### Fields ||\n|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|\n| ` public static final Creator\u003c`[IoOveruseStats](/reference/android/car/watchdog/IoOveruseStats)`\u003e` | [CREATOR](/reference/android/car/watchdog/IoOveruseStats#CREATOR) |\n\n| ### Public methods ||\n|-------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` int` | ` `[describeContents](/reference/android/car/watchdog/IoOveruseStats#describeContents())`() ` |\n| ` long` | ` `[getDurationInSeconds](/reference/android/car/watchdog/IoOveruseStats#getDurationInSeconds())`() ` Duration of the time period, in seconds. |\n| ` `[PerStateBytes](/reference/android/car/watchdog/PerStateBytes) | ` `[getRemainingWriteBytes](/reference/android/car/watchdog/IoOveruseStats#getRemainingWriteBytes())`() ` Number of write bytes remaining in each application or system state. |\n| ` long` | ` `[getStartTime](/reference/android/car/watchdog/IoOveruseStats#getStartTime())`() ` Start time of the time period, in epoch seconds. |\n| ` long` | ` `[getTotalBytesWritten](/reference/android/car/watchdog/IoOveruseStats#getTotalBytesWritten())`() ` Aggregated number of bytes written to disk by the package during the given period. |\n| ` long` | ` `[getTotalOveruses](/reference/android/car/watchdog/IoOveruseStats#getTotalOveruses())`() ` Total times the package has written to disk beyond the allowed write bytes during the given period. |\n| ` long` | ` `[getTotalTimesKilled](/reference/android/car/watchdog/IoOveruseStats#getTotalTimesKilled())`() ` Total times the package was killed during the given period due to disk I/O overuse. |\n| ` boolean` | ` `[isKillableOnOveruse](/reference/android/car/watchdog/IoOveruseStats#isKillableOnOveruse())`() ` Package may be killed on disk I/O overuse. |\n| ` String` | ` `[toString](/reference/android/car/watchdog/IoOveruseStats#toString())`() ` |\n| ` void` | ` `[writeToParcel](/reference/android/car/watchdog/IoOveruseStats#writeToParcel(android.os.Parcel,%20int))`(Parcel dest, int flags) ` |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` String` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n| From interface ` android.os.Parcelable ` |------------------|------------------------------------------| | ` abstract int` | ` describeContents() ` | | ` default int` | ` getStability() ` | | ` abstract void` | ` writeToParcel(Parcel arg0, int arg1) ` | ||\n\nFields\n------\n\n### CREATOR\n\n```\npublic static final Creator\u003cIoOveruseStats\u003e CREATOR\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### describeContents\n\n```\npublic int describeContents ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|--------|\n| `int` | \u003cbr /\u003e |\n\n### getDurationInSeconds\n\n```\npublic long getDurationInSeconds ()\n```\n\nDuration of the time period, in seconds.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### getRemainingWriteBytes\n\n```\npublic PerStateBytes getRemainingWriteBytes ()\n```\n\nNumber of write bytes remaining in each application or system state.\n\nOn exceeding these limit in at least one system or application state, the package may be\nkilled if [ERROR(/#mKillableOnOveruse)](/) is `true`.\n\nThe [ERROR(/#mDurationInSeconds)](/) does not apply to this field.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------------------------------------------------------------|--------|\n| [PerStateBytes](/reference/android/car/watchdog/PerStateBytes) | \u003cbr /\u003e |\n\n### getStartTime\n\n```\npublic long getStartTime ()\n```\n\nStart time of the time period, in epoch seconds.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### getTotalBytesWritten\n\n```\npublic long getTotalBytesWritten ()\n```\n\nAggregated number of bytes written to disk by the package during the given period.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### getTotalOveruses\n\n```\npublic long getTotalOveruses ()\n```\n\nTotal times the package has written to disk beyond the allowed write bytes during the given\nperiod.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### getTotalTimesKilled\n\n```\npublic long getTotalTimesKilled ()\n```\n\nTotal times the package was killed during the given period due to disk I/O overuse.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### isKillableOnOveruse\n\n```\npublic boolean isKillableOnOveruse ()\n```\n\nPackage may be killed on disk I/O overuse.\n\nDisk I/O overuse is triggered on exceeding [ERROR(/#mRemainingWriteBytes)](/).\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------|--------|\n| `boolean` | \u003cbr /\u003e |\n\n### toString\n\n```\npublic String toString ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |\n\n### writeToParcel\n\n```\npublic void writeToParcel (Parcel dest, \n int flags)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|-----------------|\n| `dest` | `Parcel` \u003cbr /\u003e |\n| `flags` | `int` \u003cbr /\u003e |"]]