Package one.microstream.cache.types
Class CacheConfigurationParser.Default
java.lang.Object
one.microstream.cache.types.CacheConfigurationParser.Default
- All Implemented Interfaces:
 CacheConfigurationParser,CacheConfigurationPropertyNames
- Enclosing interface:
 - CacheConfigurationParser
 
public static class CacheConfigurationParser.Default extends Object implements CacheConfigurationParser, CacheConfigurationPropertyNames
- 
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.cache.types.CacheConfigurationParser
CacheConfigurationParser.Default - 
Field Summary
Fields inherited from interface one.microstream.cache.types.CacheConfigurationPropertyNames
CACHE_LOADER_FACTORY, CACHE_WRITER_FACTORY, EVICTION_MANAGER_FACTORY, EXPIRY_POLICY_FACTORY, KEY_TYPE, MANAGEMENT_ENABLED, READ_THROUGH, STATISTICS_ENABLED, STORAGE, STORAGE_CONFIGURATION_RESOURCE_NAME, STORAGE_KEY, STORE_BY_VALUE, VALUE_TYPE, WRITE_THROUGH - 
Method Summary
Modifier and Type Method Description CacheConfiguration<?,?>parse(String data)Parses the configuration from the given input.<K, V> CacheConfiguration<K,V>parse(String data, Class<K> keyType, Class<V> valueType)Parses the configuration from the given input.protected voidparseProperties(String data, Map<String,String> properties)protected Class<?>valueAsClass(String value, Class<?> defaultValue) 
- 
Method Details
- 
parse
Description copied from interface:CacheConfigurationParserParses the configuration from the given input.- Specified by:
 parsein interfaceCacheConfigurationParser- Parameters:
 data- the input to parse- Returns:
 - the parsed configuration
 
 - 
parse
Description copied from interface:CacheConfigurationParserParses the configuration from the given input.- Specified by:
 parsein interfaceCacheConfigurationParser- Parameters:
 data- the input to parsekeyType- the key typevalueType- the value type- Returns:
 - the parsed configuration
 
 - 
valueAsClass
 - 
parseProperties
 
 -