org.ehcache.core.config.sizeof
Interface SizeOfEngineProviderConfiguration

All Superinterfaces:
ServiceCreationConfiguration<SizeOfEngineProvider>
All Known Implementing Classes:
DefaultSizeOfEngineProviderConfiguration

public interface SizeOfEngineProviderConfiguration
extends ServiceCreationConfiguration<SizeOfEngineProvider>


Method Summary
 long getMaxObjectGraphSize()
          Maximum number of objects in Object graph
 long getMaxObjectSize()
          Maximum size limit of the object to be sized
 MemoryUnit getUnit()
          The unit in which the object is sized.
 
Methods inherited from interface org.ehcache.spi.service.ServiceCreationConfiguration
getServiceType
 

Method Detail

getMaxObjectGraphSize

long getMaxObjectGraphSize()
Maximum number of objects in Object graph

Returns:
maximum number of objects in Object graph

getMaxObjectSize

long getMaxObjectSize()
Maximum size limit of the object to be sized

Returns:
maximum size limit of the object to be sized

getUnit

MemoryUnit getUnit()
The unit in which the object is sized.

Returns:
the unit