public class HibernateCachedValueCompression extends Object
Note that this code assumes that the value objects are stored in cache by reference, since it modifies the objects in place. It's very hacky, and reaches into parts of Hibernate that we shouldn't be touching, but it works.
Constructor and Description |
---|
HibernateCachedValueCompression() |
Modifier and Type | Method and Description |
---|---|
static void |
compressCacheValue(@Nullable Object value) |
static void |
decompressCacheValue(@Nullable Object value) |
static boolean |
isCompressionEnabled() |
Copyright © 2003–2020 Atlassian. All rights reserved.