| 8 | import org.junit.Test; |
| 9 | |
| 10 | public class ClockCacheTest { |
| 11 | |
| 12 | static { |
| 13 | RocksDB.loadLibrary(); |
| 14 | } |
| 15 | |
| 16 | @Test |
| 17 | public void newClockCache() { |
| 18 | final long capacity = 1000; |
| 19 | final int numShardBits = 16; |
| 20 | final boolean strictCapacityLimit = true; |
| 21 | try(final Cache clockCache = new ClockCache(capacity, |
| 22 | numShardBits, strictCapacityLimit)) { |
| 23 | //no op |
| 24 | } |
| 25 | } |
| 26 | } |
nothing calls this directly
no test coverage detected