# Poolable

Artifact: [androidx.tracing:tracing](https://developer.android.com/jetpack/androidx/releases/tracing) [View Source](https://cs.android.com/search?q=file:androidx/tracing/Poolable.kt+class:androidx.tracing.Poolable) Added in [2.0.5](https://developer.android.com/jetpack/androidx/releases/tracing#2.0.5)

*** ** * ** ***


```
public abstract class Poolable<T extends Poolable<@NonNull T>>
```

<br />

Known direct subclasses [PooledTracePacketArray](https://developer.android.com/reference/androidx/tracing/PooledTracePacketArray)

|---|---|
| `https://developer.android.com/reference/androidx/tracing/PooledTracePacketArray` |   |

*** ** * ** ***

Represents an object that can be reused using a `https://developer.android.com/reference/androidx/tracing/Pool`. This avoids GC churn.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/tracing/Poolable#recycle()()` Recycles the object, and hands it back to the pool. |

## Public methods

### recycle

Added in [2.0.5](https://developer.android.com/jetpack/androidx/releases/tracing#2.0.5)

```
public abstract void recycle()
```

Recycles the object, and hands it back to the pool.