public class MaxSizeConfigReadOnly extends MaxSizeConfig
MaxSizeConfig.MaxSizePolicy
DEFAULT_MAX_SIZE
Constructor and Description |
---|
MaxSizeConfigReadOnly(MaxSizeConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MaxSizeConfig |
setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy)
Deprecated.
Ses the maximum size policy of the map.
|
MaxSizeConfig |
setSize(int size)
Deprecated.
Sets the maximum size of the map.
|
equals, getAsReadOnly, getMaxSizePolicy, getSize, hashCode, readData, toString, writeData
public MaxSizeConfigReadOnly(MaxSizeConfig config)
public MaxSizeConfig setSize(int size)
MaxSizeConfig
setSize
in class MaxSizeConfig
size
- the maximum size of the mappublic MaxSizeConfig setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy)
MaxSizeConfig
setMaxSizePolicy
in class MaxSizeConfig
maxSizePolicy
- the maximum size policy to set for the mapCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.