Created
June 6, 2020 15:06
-
-
Save ldclakmal/761a35154e3fe3354f3a0122f2ecee48 to your computer and use it in GitHub Desktop.
Custom Eviction Policy of Ballerina
This file contains hidden or 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
public type CustomEvictionPolicy object { | |
*cache:AbstractEvictionPolicy; | |
public function get(LinkedList list, Node node) { | |
// custom implementation related to updating the | |
// `LinkedList` based on the get operation. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment