org.ehcache.impl.config.sizeof
Class DefaultSizeOfEngineConfiguration
java.lang.Object
org.ehcache.impl.config.sizeof.DefaultSizeOfEngineConfiguration
- All Implemented Interfaces:
- ServiceConfiguration<SizeOfEngineProvider>
public class DefaultSizeOfEngineConfiguration
- extends java.lang.Object
- implements ServiceConfiguration<SizeOfEngineProvider>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_OBJECT_GRAPH_SIZE
public static final int DEFAULT_OBJECT_GRAPH_SIZE
- See Also:
- Constant Field Values
DEFAULT_MAX_OBJECT_SIZE
public static final long DEFAULT_MAX_OBJECT_SIZE
- See Also:
- Constant Field Values
DEFAULT_UNIT
public static final MemoryUnit DEFAULT_UNIT
DefaultSizeOfEngineConfiguration
public DefaultSizeOfEngineConfiguration(long size,
MemoryUnit unit,
long objectGraphSize)
getServiceType
public java.lang.Class<SizeOfEngineProvider> getServiceType()
- Description copied from interface:
ServiceConfiguration
- Indicates which service this configuration works with.
- Specified by:
getServiceType
in interface ServiceConfiguration<SizeOfEngineProvider>
- Returns:
- the service type
getMaxObjectGraphSize
public long getMaxObjectGraphSize()
getMaxObjectSize
public long getMaxObjectSize()
getUnit
public MemoryUnit getUnit()