public final class MapKeyLoaderUtil extends Object
Modifier and Type | Method and Description |
---|---|
static int |
getMaxSizePerNode(MaxSizeConfig maxSizeConfig)
Returns the configured maximum entry count per node if the max
size policy is
MaxSizeConfig.MaxSizePolicy#PER_NODE
and is not the default, otherwise returns -1 . |
public static int getMaxSizePerNode(MaxSizeConfig maxSizeConfig)
MaxSizeConfig.MaxSizePolicy#PER_NODE
and is not the default, otherwise returns -1
.maxSizeConfig
- the max size configuration-1
if not configured or is the defaultMaxSizeConfig.getMaxSizePolicy()
,
MaxSizeConfig.getSize()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.