Sunday, 3 October 2021

ExpiringMap tutorial

ExpiringMap is a high performance, low-overhead, zero dependency, thread-safe ConcurrentMap implementation that expires entries. You can download the working applications from this link.

 

In this tutorial, you are going to learn.

      ExpiringMap: Hello world application
      ExpiringMap: Working with expiration policies
            ExpiringMap: Expire the entry by last accessed time
            ExpiringMap: Expire the entry by created time
      ExpiringMap: Set expiration policy for individual entries
      ExpiringMap: Set expiration time and policy at entry level
      ExpiringMap: change the expiration policy at run time
      ExpiringMap: Change expiration time of the entry at runtime
      ExpiringMap: Set the maximum cache size
      ExpiringMap: listeners: notify when the entry expires
      ExpiringMap: Add expiration listener at run time
      ExpiringMap: Remove expiration listener at run time
      ExpiringMap: Load the entries lazily
      ExpiringMap: Get expected expiration time of a key

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment