com.hazelcast.config
Class MaxSizeConfig

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

public class MaxSizeConfig
extends Object
implements DataSerializable

See Also:
Serialized Form

Field Summary
static String POLICY_CLUSTER_WIDE_MAP_SIZE
           
static String POLICY_MAP_SIZE_PER_JVM
           
static String POLICY_PARTITIONS_WIDE_MAP_SIZE
           
static String POLICY_USED_HEAP_PERCENTAGE
           
static String POLICY_USED_HEAP_SIZE
           
 
Constructor Summary
MaxSizeConfig()
           
 
Method Summary
 String getMaxSizePolicy()
           
 int getSize()
           
 void readData(DataInput in)
           
 MaxSizeConfig setMaxSizePolicy(String maxSizePolicy)
           
 MaxSizeConfig setSize(int size)
           
 String toString()
           
 void writeData(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POLICY_MAP_SIZE_PER_JVM

public static final String POLICY_MAP_SIZE_PER_JVM
See Also:
Constant Field Values

POLICY_CLUSTER_WIDE_MAP_SIZE

public static final String POLICY_CLUSTER_WIDE_MAP_SIZE
See Also:
Constant Field Values

POLICY_PARTITIONS_WIDE_MAP_SIZE

public static final String POLICY_PARTITIONS_WIDE_MAP_SIZE
See Also:
Constant Field Values

POLICY_USED_HEAP_SIZE

public static final String POLICY_USED_HEAP_SIZE
See Also:
Constant Field Values

POLICY_USED_HEAP_PERCENTAGE

public static final String POLICY_USED_HEAP_PERCENTAGE
See Also:
Constant Field Values
Constructor Detail

MaxSizeConfig

public MaxSizeConfig()
Method Detail

readData

public void readData(DataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Throws:
IOException

writeData

public void writeData(DataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Throws:
IOException

getSize

public int getSize()

setSize

public MaxSizeConfig setSize(int size)

getMaxSizePolicy

public String getMaxSizePolicy()

setMaxSizePolicy

public MaxSizeConfig setMaxSizePolicy(String maxSizePolicy)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.