public class CacheLogger extends Object
Modifier and Type | Field and Description |
---|---|
private String |
cacheName |
private static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
CacheLogger(String cacheName) |
Modifier and Type | Method and Description |
---|---|
<T> T |
execute(Supplier<T> result)
Log the time it took to fill the cache
|
Copyright © 2022 Requirement Yogi. All rights reserved.