public class MaxSizeConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MaxSizeConfig.MaxSizePolicy
Maximum Size Policy
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_SIZE
Default maximum size of map.
|
Constructor and Description |
---|
MaxSizeConfig() |
MaxSizeConfig(int size,
MaxSizeConfig.MaxSizePolicy maxSizePolicy) |
MaxSizeConfig(MaxSizeConfig config) |
Modifier and Type | Method and Description |
---|---|
MaxSizeConfigReadOnly |
getAsReadOnly() |
MaxSizeConfig.MaxSizePolicy |
getMaxSizePolicy() |
int |
getSize() |
MaxSizeConfig |
setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy) |
MaxSizeConfig |
setSize(int size) |
String |
toString() |
public static final int DEFAULT_MAX_SIZE
public MaxSizeConfig()
public MaxSizeConfig(int size, MaxSizeConfig.MaxSizePolicy maxSizePolicy)
public MaxSizeConfig(MaxSizeConfig config)
public MaxSizeConfigReadOnly getAsReadOnly()
public int getSize()
public MaxSizeConfig setSize(int size)
public MaxSizeConfig.MaxSizePolicy getMaxSizePolicy()
public MaxSizeConfig setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.