public abstract class AbstractCloseTracked<T extends AbstractCloseTracked<T>> extends Object implements CloseTracked<T>
CloseTracked implementors.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCloseTracked(CloseTrackedRegistry<T> transactionChainRegistry) |
| Modifier and Type | Method and Description |
|---|---|
StackTraceElement[] |
getAllocationContextStackTrace()
This returns the allocation context as
StackTraceElements. |
CloseTracked<T> |
getRealCloseTracked() |
protected void |
removeFromTrackedRegistry() |
protected AbstractCloseTracked(CloseTrackedRegistry<T> transactionChainRegistry)
protected void removeFromTrackedRegistry()
@Nullable public StackTraceElement[] getAllocationContextStackTrace()
CloseTrackedStackTraceElements. NB that
this is a relatively EXPENSIVE operation! You should only ever call
this when you really need to, e.g. when you actually produce output for
humans, but not too early.getAllocationContextStackTrace in interface CloseTracked<T extends AbstractCloseTracked<T>>public final CloseTracked<T> getRealCloseTracked()
getRealCloseTracked in interface CloseTracked<T extends AbstractCloseTracked<T>>Copyright © 2019 OpenDaylight. All rights reserved.