|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TimeSource | |
|---|---|
| org.terracotta.cache.impl | |
| org.terracotta.cache.serialization | |
| Uses of TimeSource in org.terracotta.cache.impl |
|---|
| Classes in org.terracotta.cache.impl that implement TimeSource | |
|---|---|
class |
SystemTimeSource
A TimeSource that uses System.currentTimeMillis(). |
| Methods in org.terracotta.cache.impl that return TimeSource | |
|---|---|
TimeSource |
DistributedCacheImpl.getTimeSource()
|
TimeSource |
LocalCache.getTimeSource()
|
| Methods in org.terracotta.cache.impl with parameters of type TimeSource | |
|---|---|
void |
DistributedCacheImpl.setTimeSource(TimeSource timeSource)
This is provided for testing purposes - it lets you override the source of System.currentTimeMillis() so that you can control it yourself in the test. |
void |
LocalCache.setTimeSource(TimeSource timeSource)
This is provided for testing purposes - it lets you override the source of System.currentTimeMillis() so that you can control it yourself in the test. |
| Uses of TimeSource in org.terracotta.cache.serialization |
|---|
| Constructors in org.terracotta.cache.serialization with parameters of type TimeSource | |
|---|---|
CustomLifespanSerializedEntry(T deserialized,
byte[] serialized,
int tti,
int ttl,
TimeSource timeSource)
|
|
SerializedEntry(T deserialized,
byte[] serialized,
TimeSource timeSource)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||