HHH-12495 - Cache statistics (binary compatibility)

This commit is contained in:
Steve Ebersole 2018-04-17 18:59:00 -05:00
parent a63c4fe1d2
commit d3218581e8
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
*/
package org.hibernate.stat.internal;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.atomic.AtomicLong;
@ -29,7 +30,7 @@ import static org.hibernate.stat.CacheRegionStatistics.NO_EXTENDED_STAT_SUPPORT_
* @author Eric Dalquist
*/
@Deprecated
public class DeprecatedNaturalIdCacheStatisticsImpl implements NaturalIdCacheStatistics {
public class DeprecatedNaturalIdCacheStatisticsImpl implements NaturalIdCacheStatistics, Serializable {
private final String regionName;
private final transient Set<NaturalIdDataAccess> accessStrategies;