public class VisorMemoryPolicyConfiguration extends VisorDataTransferObject
Constructor and Description |
---|
VisorMemoryPolicyConfiguration()
Default constructor.
|
VisorMemoryPolicyConfiguration(MemoryPolicyConfiguration plc)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getEmptyPagesPoolSize() |
double |
getEvictionThreshold() |
String |
getName()
Unique name of MemoryPolicy.
|
DataPageEvictionMode |
getPageEvictionMode() |
long |
getSize()
Page memory size in bytes.
|
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, writeExternal
public VisorMemoryPolicyConfiguration()
public VisorMemoryPolicyConfiguration(MemoryPolicyConfiguration plc)
plc
- Memory policy configuration.public String getName()
public long getSize()
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 VisorDataTransferObject
out
- 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 VisorDataTransferObject
protoVer
- 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 Fabric : ver. 2.0.0 Release Date : April 30 2017