com.hazelcast.config
Class MaxSizeConfigReadOnly

java.lang.Object
  extended by com.hazelcast.config.MaxSizeConfig
      extended by com.hazelcast.config.MaxSizeConfigReadOnly
All Implemented Interfaces:
DataSerializable, Serializable

public class MaxSizeConfigReadOnly
extends MaxSizeConfig

Contains the configuration for a size of Map.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.hazelcast.config.MaxSizeConfig
MaxSizeConfig.MaxSizePolicy
 
Field Summary
 
Fields inherited from class com.hazelcast.config.MaxSizeConfig
DEFAULT_MAX_SIZE
 
Constructor Summary
MaxSizeConfigReadOnly(MaxSizeConfig config)
           
 
Method Summary
 MaxSizeConfig setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy)
           
 MaxSizeConfig setSize(int size)
           
 
Methods inherited from class com.hazelcast.config.MaxSizeConfig
getAsReadOnly, getMaxSizePolicy, getSize, readData, toString, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaxSizeConfigReadOnly

public MaxSizeConfigReadOnly(MaxSizeConfig config)
Method Detail

setSize

public MaxSizeConfig setSize(int size)
Overrides:
setSize in class MaxSizeConfig

setMaxSizePolicy

public MaxSizeConfig setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy)
Overrides:
setMaxSizePolicy in class MaxSizeConfig


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.