|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.internal.DefaultTimeSourceService
public class DefaultTimeSourceService
DefaultTimeSourceService
Constructor Summary | |
---|---|
DefaultTimeSourceService(TimeSourceConfiguration config)
|
Method Summary | |
---|---|
TimeSource |
getTimeSource()
Exposes the TimeSource that is configured |
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 DefaultTimeSourceService(TimeSourceConfiguration config)
Method Detail |
---|
public TimeSource getTimeSource()
TimeSourceService
TimeSource
that is configured
getTimeSource
in interface TimeSourceService
TimeSource
to usepublic 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |