|
|||||||||
| 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()
TimeSourceServiceTimeSource that is configured
getTimeSource in interface TimeSourceServiceTimeSource to usepublic void start(ServiceProvider serviceProvider)
ServiceServiceProvider.
The goal of the service provider is to allow a service to use other services.
start in interface ServiceserviceProvider - 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 | ||||||||