|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.impl.internal.sizeof.DefaultSizeOfEngineProvider
public class DefaultSizeOfEngineProvider
Constructor Summary | |
---|---|
DefaultSizeOfEngineProvider(long maxObjectGraphSize,
long maxObjectSize)
|
Method Summary | |
---|---|
SizeOfEngine |
createSizeOfEngine(ResourceUnit resourceUnit,
ServiceConfiguration<?>... serviceConfigs)
Creates a SizeOfEngine which will size objects
with maximum depth and maximum size |
void |
start(ServiceProvider serviceProvider)
Start this service using the provided configuration and ServiceProvider . |
void |
stop()
Stops this service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSizeOfEngineProvider(long maxObjectGraphSize, long maxObjectSize)
Method Detail |
---|
public void start(ServiceProvider serviceProvider)
Service
ServiceProvider
.
The goal of the service provider is to allow a service to use other services.
start
in interface Service
serviceProvider
- the service provider.public void stop()
Service
stop
in interface Service
public SizeOfEngine createSizeOfEngine(ResourceUnit resourceUnit, ServiceConfiguration<?>... serviceConfigs)
SizeOfEngineProvider
SizeOfEngine
which will size objects
with maximum depth and maximum size
createSizeOfEngine
in interface SizeOfEngineProvider
resourceUnit
- type of the unit used to size the storeserviceConfigs
- Array of ServiceConfiguration
s
SizeOfEngine
instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |