Package org.apache.ignite.configuration
Class PlatformCacheConfiguration
- java.lang.Object
- 
- org.apache.ignite.configuration.PlatformCacheConfiguration
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class PlatformCacheConfiguration extends Object implements Serializable Platform cache configuration.Additional caching mechanism on platform side (.NET). - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description PlatformCacheConfiguration()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKeyTypeName()Gets fully-qualified platform type name of the cache key used for the local map.StringgetValueTypeName()Gets fully-qualified platform type name of the cache value used for the local map.booleanisKeepBinary()Gets a value indicating whether platform cache should store keys and values in binary form.PlatformCacheConfigurationsetKeepBinary(boolean keepBinary)Sets a value indicating whether platform cache should store keys and values in binary form.PlatformCacheConfigurationsetKeyTypeName(String keyTypeName)Sets fully-qualified platform type name of the cache key used for the local map.PlatformCacheConfigurationsetValueTypeName(String valueTypeName)Sets fully-qualified platform type name of the cache value used for the local map.StringtoString()
 
- 
- 
- 
Method Detail- 
getKeyTypeNamepublic String getKeyTypeName() Gets fully-qualified platform type name of the cache key used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.- Returns:
- Key type name.
 
 - 
setKeyTypeNamepublic PlatformCacheConfiguration setKeyTypeName(String keyTypeName) Sets fully-qualified platform type name of the cache key used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.- Parameters:
- keyTypeName- Key type name.
- Returns:
- thisfor chaining.
 
 - 
getValueTypeNamepublic String getValueTypeName() Gets fully-qualified platform type name of the cache value used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.- Returns:
- Key type name.
 
 - 
setValueTypeNamepublic PlatformCacheConfiguration setValueTypeName(String valueTypeName) Sets fully-qualified platform type name of the cache value used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.- Parameters:
- valueTypeName- Key type name.
- Returns:
- thisfor chaining.
 
 - 
isKeepBinarypublic boolean isKeepBinary() Gets a value indicating whether platform cache should store keys and values in binary form.- Returns:
- Whether binary mode is enabled.
 
 - 
setKeepBinarypublic PlatformCacheConfiguration setKeepBinary(boolean keepBinary) Sets a value indicating whether platform cache should store keys and values in binary form.- Parameters:
- keepBinary- Whether binary mode is enabled.
- Returns:
- thisfor chaining.
 
 
- 
 
-