| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private Cleaner. | |
| private CleanerDrop. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | attach(T
The new obj)Resource instance with the new owner.Implements io. |
| public void | drop(T
The obj)Resource instance being dropped.Implements io. Resource instance.
|
| public Drop | |
| private static <T extends Buffer> CleanerDrop | |
| public String | |
| public static <T extends Buffer> Drop | wrap(Drop<T> drop, MemoryManager manager)
Wrap the given drop instance, and produce a new drop instance that will also call the delegate drop instance if it becomes cleanable. |
| public static <T extends Buffer> Drop | wrapWithoutLeakDetection(Drop<T> drop, MemoryManager manager)
Wrap the given drop instance, and produce a new drop instance that will also call the delegate drop instance if it becomes cleanable. |
| cleanable | back to summary |
|---|---|
| private Cleaner. | |
| runner | back to summary |
|---|---|
| private CleanerDrop. | |
| CleanerDrop | back to summary |
|---|---|
| private CleanerDrop() | |
| attach | back to summary |
|---|---|
| public void attach(T obj) Implements io. Doc from io. Called when the resource changes owner. | |
| drop | back to summary |
|---|---|
| public void drop(T obj) Implements io. Doc from io. Dispose of the resources in the given | |
| fork | back to summary |
|---|---|
| public Drop Implements io. Doc from io. Branch the responsibility of dropping a resource. This drop instance will remain associated with its current resource, while the returned drop instance must be attached to its new resource. | |
| innerWrap | back to summary |
|---|---|
| private static <T extends Buffer> CleanerDrop | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| wrap | back to summary |
|---|---|
| public static <T extends Buffer> Drop Wrap the given drop instance, and produce a new drop instance that will also call the delegate drop instance if it becomes cleanable. | |
| wrapWithoutLeakDetection | back to summary |
|---|---|
| public static <T extends Buffer> Drop Wrap the given drop instance, and produce a new drop instance that will also call the delegate drop instance if it becomes cleanable.
The produced drop will not report to the | |
| Modifier and Type | Field and Description |
|---|---|
| private static final CleanerDrop. | |
| pack-priv final boolean | |
| pack-priv final Drop | |
| pack-priv volatile boolean | |
| pack-priv final MemoryManager | |
| private static final long | |
| pack-priv LifecycleTracer | |
| pack-priv volatile boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| ALLOC_CONTROL | back to summary |
|---|---|
| private static final CleanerDrop. | |
| detectLeaks | back to summary |
|---|---|
| pack-priv final boolean detectLeaks | |
| drop | back to summary |
|---|---|
| pack-priv final Drop<T> drop | |
| dropping | back to summary |
|---|---|
| pack-priv volatile boolean dropping | |
| manager | back to summary |
|---|---|
| pack-priv final MemoryManager manager | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| tracer | back to summary |
|---|---|
| pack-priv LifecycleTracer tracer | |
| tracerFromSplitParent | back to summary |
|---|---|
| pack-priv volatile boolean tracerFromSplitParent | |
| GatedRunner | back to summary |
|---|---|
| private GatedRunner(Drop<T> drop, MemoryManager manager, boolean detectLeaks) | |
| prepareRecover | back to summary |
|---|---|
| public void prepareRecover(T obj) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public BufferAllocator | getAllocator()
Implements io. BufferAllocator instance that is the source of this allocator control.
|
| NoOpAllocatorControl | back to summary |
|---|---|
| private NoOpAllocatorControl() | |
| getAllocator | back to summary |
|---|---|
| public BufferAllocator getAllocator() Implements io. Doc from io. Get the
| |