|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.internal.TimeSourceConfiguration
public class TimeSourceConfiguration
Configuration for the TimeSourceService
This configuration has to be applied at the CacheManager level.
| Constructor Summary | |
|---|---|
TimeSourceConfiguration(TimeSource timeSource)
Constructor for this configuration object which takes the TimeSource to use. |
|
| Method Summary | |
|---|---|
java.lang.Class<TimeSourceService> |
getServiceType()
Indicates which service this configuration works with. |
TimeSource |
getTimeSource()
Exposes the TimeSource configured. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeSourceConfiguration(TimeSource timeSource)
TimeSource to use.
timeSource - the TimeSource to use| Method Detail |
|---|
public java.lang.Class<TimeSourceService> getServiceType()
ServiceConfiguration
getServiceType in interface ServiceConfiguration<TimeSourceService>public TimeSource getTimeSource()
TimeSource configured.
TimeSource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||