Object - cache : AbstractEvictionPolicy

The cache:AbstractEvictionPolicy Ballerina object is used for custom implementations of the eviction policy for a Ballerina cache object. Any custom eviction policy implementation should be object-wise similar.

get

Parameters

put

Parameters

remove

Parameters

replace

Parameters

clear

Parameters

evict

(LinkedList list)

returns Node?

Parameters

  • Return Type

    (Node?)