Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.map.impl.eviction |
This package contains eviction classes.
|
Modifier and Type | Method and Description |
---|---|
MaxSizeConfig.MaxSizePolicy |
MaxSizeConfig.getMaxSizePolicy()
Returns the maximum size policy of the map.
|
static MaxSizeConfig.MaxSizePolicy |
MaxSizeConfig.MaxSizePolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaxSizeConfig.MaxSizePolicy[] |
MaxSizeConfig.MaxSizePolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
MaxSizeConfig |
MaxSizeConfigReadOnly.setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy) |
MaxSizeConfig |
MaxSizeConfig.setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy)
Ses the maximum size policy of the map.
|
Constructor and Description |
---|
MaxSizeConfig(int size,
MaxSizeConfig.MaxSizePolicy maxSizePolicy) |
Modifier and Type | Method and Description |
---|---|
static int |
MaxSizeChecker.getApproximateMaxSize(MaxSizeConfig maxSizeConfig,
MaxSizeConfig.MaxSizePolicy policy)
Get max size setting form config for given policy
|
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.