org.ehcache.impl.config.sizeof
Class DefaultSizeOfEngineProviderConfiguration

java.lang.Object
  extended by org.ehcache.impl.config.sizeof.DefaultSizeOfEngineProviderConfiguration
All Implemented Interfaces:
ServiceCreationConfiguration<SizeOfEngineProvider>

public class DefaultSizeOfEngineProviderConfiguration
extends java.lang.Object
implements ServiceCreationConfiguration<SizeOfEngineProvider>


Constructor Summary
DefaultSizeOfEngineProviderConfiguration(long size, MemoryUnit unit, long objectGraphSize)
           
 
Method Summary
 long getMaxObjectGraphSize()
           
 long getMaxObjectSize()
           
 java.lang.Class<SizeOfEngineProvider> getServiceType()
          Indicates which service consumes this configuration at creation.
 MemoryUnit getUnit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSizeOfEngineProviderConfiguration

public DefaultSizeOfEngineProviderConfiguration(long size,
                                                MemoryUnit unit,
                                                long objectGraphSize)
Method Detail

getServiceType

public java.lang.Class<SizeOfEngineProvider> getServiceType()
Description copied from interface: ServiceCreationConfiguration
Indicates which service consumes this configuration at creation.

Specified by:
getServiceType in interface ServiceCreationConfiguration<SizeOfEngineProvider>
Returns:
the service type

getMaxObjectGraphSize

public long getMaxObjectGraphSize()

getMaxObjectSize

public long getMaxObjectSize()

getUnit

public MemoryUnit getUnit()