Skip to content

Commit

Permalink
Ehcache integration
Browse files Browse the repository at this point in the history
  • Loading branch information
sgup432 committed Oct 26, 2023
1 parent 8510637 commit 2a8db20
Show file tree
Hide file tree
Showing 10 changed files with 617 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,4 @@ public interface DiskCachingTier<K, V> extends CachingTier<K, V> {
* Closes the disk tier.
*/
void close();

/**
* Get the EWMA time in milliseconds for a get().
* @return
*/
double getTimeMillisEWMA();
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import java.util.Collections;

public class DummyDiskCachingTier<K, V> implements CachingTier<K, V> {
public class DummyDiskCachingTier<K, V> implements DiskCachingTier<K, V> {

@Override
public V get(K key) {
Expand Down Expand Up @@ -55,4 +55,9 @@ public int count() {
public TierType getTierType() {
return TierType.DISK;
}

@Override
public void close() {

}
}
Loading

0 comments on commit 2a8db20

Please sign in to comment.