-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,9 @@ | |
import com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats; | ||
import com.typesafe.config.Config; | ||
|
||
/** | ||
* @author [email protected] (Gil Einziger) | ||
*/ | ||
public final class TinyCachePolicy implements Policy { | ||
private final PolicyStats policyStats; | ||
private final TinyCache tinyCache; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,9 @@ | |
import com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats; | ||
import com.typesafe.config.Config; | ||
|
||
/** | ||
* @author [email protected] (Gil Einziger) | ||
*/ | ||
public final class TinyCachePolicywithGhostCache implements Policy { | ||
private final TinyCacheWithGhostCache tinyCache; | ||
private final PolicyStats policyStats; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,9 @@ | |
import com.github.benmanes.caffeine.cache.simulator.policy.PolicyStats; | ||
import com.typesafe.config.Config; | ||
|
||
/** | ||
* @author [email protected] (Gil Einziger) | ||
*/ | ||
public final class WindowTinyCachePolicy implements Policy { | ||
private final TinyCache window; | ||
private final PolicyStats policyStats; | ||
|