org.ehcache.core.config.sizeof
Interface SizeOfEngineConfiguration

All Superinterfaces:
ServiceConfiguration<SizeOfEngineProvider>
All Known Implementing Classes:
DefaultSizeOfEngineConfiguration

public interface SizeOfEngineConfiguration
extends ServiceConfiguration<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.ServiceConfiguration
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