| Package | Description |
|---|---|
| net.openhft.chronicle.core.threads |
Provides classes and interfaces for thread management and scheduling in an
event-driven programming model.
|
| net.openhft.chronicle.core.util |
| Modifier and Type | Method and Description |
|---|---|
static <T> CleaningThreadLocal<T> |
CleaningThreadLocal.withCleanup(Supplier<T> supplier,
ThrowingConsumer<T,Exception> cleanup)
Creates a CleaningThreadLocal with a supplier and a custom cleanup strategy.
|
static <T> CleaningThreadLocal<T> |
CleaningThreadLocal.withCleanup(Supplier<T> supplier,
ThrowingConsumer<T,Exception> cleanup,
Function<T,T> getWrapper)
Creates a CleaningThreadLocal with a supplier, a custom cleanup strategy, and a function to apply when the get method is called.
|
static <T> CleaningThreadLocal<T> |
CleaningThreadLocal.withCleanup(ThrowingConsumer<T,Exception> cleanup)
Creates a CleaningThreadLocal with a custom cleanup strategy.
|
| Modifier and Type | Method and Description |
|---|---|
static <I,T extends Throwable> |
ThrowingConsumer.asConsumer(@NotNull ThrowingConsumer<I,T> function)
Deprecated.
|
Copyright © 2023. All rights reserved.