Interface Cache.Clock

Enclosing class:
Cache<K,V>

public static interface Cache.Clock
Where the cache reads the time: monotonic milliseconds. Replace it in a test to move time deterministically.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
  • Method Details

    • millis

      long millis()