Uses of Class
cloud.opencode.base.cache.testing.CacheTestSupport.TestClock
Packages that use CacheTestSupport.TestClock
-
Uses of CacheTestSupport.TestClock in cloud.opencode.base.cache.testing
Methods in cloud.opencode.base.cache.testing that return CacheTestSupport.TestClockModifier and TypeMethodDescriptionCacheTestSupport.MockCache.clock()Get the test clock 获取测试时钟static CacheTestSupport.TestClockCacheTestSupport.testClock()Create a test clock 创建测试时钟static CacheTestSupport.TestClockCreate a test clock with initial time 创建带初始时间的测试时钟Methods in cloud.opencode.base.cache.testing with parameters of type CacheTestSupport.TestClockModifier and TypeMethodDescriptionstatic <K,V> CacheTestSupport.MockCache <K, V> CacheTestSupport.mockCache(CacheTestSupport.TestClock clock) Create mock cache with controllable clock 创建带可控时钟的模拟缓存Constructors in cloud.opencode.base.cache.testing with parameters of type CacheTestSupport.TestClockModifierConstructorDescriptionCreates a MockCache with specified clock | 创建指定时钟的模拟缓存MockCache(String name, CacheTestSupport.TestClock clock) Creates a MockCache with specified name and clock | 创建指定名称和时钟的模拟缓存