| Package | Description |
|---|---|
| net.openhft.chronicle.core.scoped |
| Modifier and Type | Class and Description |
|---|---|
class |
StrongReferenceScopedResource<T>
A
ScopedResource that will always retain a strong reference to the
contained resource, even when not "in use" |
class |
WeakReferenceScopedResource<T>
A weak-referenced
ScopedResource when the resource is acquired, we create
a strong reference to prevent it being GC'd while it's "in use". |
| Modifier and Type | Method and Description |
|---|---|
ScopedResource<T> |
ScopedThreadLocal.get()
Get a scoped instance of the shared resource
|
ScopedResource<T> |
ScopedResourcePool.get()
Get a scoped instance of the shared resource
|
Copyright © 2024. All rights reserved.