public class VisorMemoryPolicyConfiguration extends VisorDataTransferObject
V1, V2, V3, V4| Constructor and Description |
|---|
VisorMemoryPolicyConfiguration()
Default constructor.
|
VisorMemoryPolicyConfiguration(DataRegionConfiguration plc)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEmptyPagesPoolSize() |
double |
getEvictionThreshold() |
long |
getInitialSize()
Initial memory region size defined by this memory policy.
|
long |
getMaxSize()
Maximum memory region size defined by this memory policy.
|
String |
getName()
Unique name of DataRegion.
|
DataPageEvictionMode |
getPageEvictionMode() |
String |
getSwapFilePath() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorMemoryPolicyConfiguration()
public VisorMemoryPolicyConfiguration(DataRegionConfiguration plc)
plc - Memory policy configuration.public String getName()
public long getMaxSize()
public long getInitialSize()
public String getSwapFilePath()
public DataPageEvictionMode getPageEvictionMode()
DataPageEvictionMode.DISABLED used by default.public double getEvictionThreshold()
public int getEmptyPagesPoolSize()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021