Package | Description |
---|---|
net.sf.ehcache.config |
This package contains the cache configuration code.
|
net.sf.ehcache.config.generator.model.elements |
This package contains utility classes encapsulating ideas of Elements and Attributes from the ehcache.xsd
|
Modifier and Type | Field and Description |
---|---|
static SizeOfPolicyConfiguration |
Configuration.DEFAULT_SIZEOF_POLICY_CONFIGURATION
Default sizeOfPolicy configuration
|
Modifier and Type | Method and Description |
---|---|
SizeOfPolicyConfiguration |
CacheConfiguration.getSizeOfPolicyConfiguration()
Accessor
|
SizeOfPolicyConfiguration |
Configuration.getSizeOfPolicyConfiguration()
Gets the SizeOf policy configuration.
|
SizeOfPolicyConfiguration |
SizeOfPolicyConfiguration.maxDepth(int maxDepth)
Builder method to set the maximum depth the SizeOf engine can normally traverse
|
SizeOfPolicyConfiguration |
SizeOfPolicyConfiguration.maxDepthExceededBehavior(SizeOfPolicyConfiguration.MaxDepthExceededBehavior maxDepthExceededBehavior)
Builder method to set the behavior of the SizeOf engine when the max depth is reached
|
SizeOfPolicyConfiguration |
SizeOfPolicyConfiguration.maxDepthExceededBehavior(String maxDepthExceededBehavior)
Builder method to set the behavior of the SizeOf engine when the max depth is reached using a String object
|
Modifier and Type | Method and Description |
---|---|
void |
CacheConfiguration.addSizeOfPolicy(SizeOfPolicyConfiguration sizeOfPolicyConfiguration)
Sets the SizeOfPolicyConfiguration for this cache.
|
void |
Configuration.addSizeOfPolicy(SizeOfPolicyConfiguration sizeOfPolicy)
Sets the default SizeOfPolicyConfiguration for this cache manager.
|
CacheConfiguration |
CacheConfiguration.sizeOfPolicy(SizeOfPolicyConfiguration sizeOfPolicyConfiguration)
Builder to set the SizeOfPolicyConfiguration for this cache.
|
Configuration |
Configuration.sizeOfPolicy(SizeOfPolicyConfiguration sizeOfPolicyConfiguration)
Builder to set the default SizeOfPolicyConfiguration for this cache manager.
|
Constructor and Description |
---|
SizeOfPolicyConfigurationElement(ConfigurationElement parent,
SizeOfPolicyConfiguration sizeOfPolicyConfiguration)
Construtor accepting the parent and the
SizeOfPolicyConfiguration |
SizeOfPolicyConfigurationElement(NodeElement element,
SizeOfPolicyConfiguration sizeOfPolicyConfiguration)
Construtor accepting the element and the
SizeOfPolicyConfiguration |
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.