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