public interface ReferenceCountedTracer extends ReferenceCounted
INIT, TMP| Modifier and Type | Method and Description |
|---|---|
StackTrace |
createdHere() |
static @NotNull ReferenceCountedTracer |
onReleased(Runnable onRelease,
Supplier<String> uniqueId,
Class<?> type) |
void |
throwExceptionIfNotReleased() |
default void |
throwExceptionIfReleased() |
void |
warnAndReleaseIfNotReleased() |
refCount, release, releaseLast, releaseLast, reserve, reservedBy, reserveTransfer, tryReservereferenceId, referenceName, temporary@NotNull static @NotNull ReferenceCountedTracer onReleased(Runnable onRelease, Supplier<String> uniqueId, Class<?> type)
default void throwExceptionIfReleased()
throws ClosedIllegalStateException
ClosedIllegalStateExceptionvoid warnAndReleaseIfNotReleased()
throws ClosedIllegalStateException
ClosedIllegalStateExceptionvoid throwExceptionIfNotReleased()
throws IllegalStateException
IllegalStateExceptionStackTrace createdHere()
Copyright © 2022. All rights reserved.