public class BinaryContextHolder extends Object
ThreadLocal.clear() and/or {{}}ThreadLocal.set()}} operations on
every serialization/deserialization, as they may take considerable amount of CPU time (confirmed by benchmarks).| Constructor and Description |
|---|
BinaryContextHolder() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable BinaryContext |
get() |
@Nullable BinaryContext |
set(@Nullable BinaryContext newCtx) |
@Nullable public @Nullable BinaryContext get()
@Nullable public @Nullable BinaryContext set(@Nullable @Nullable BinaryContext newCtx)
newCtx - New context.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020