Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.1
-
Component/s: Push Library
-
Labels:None
-
Environment:server
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
We need to implement expiry mechanism for PushIds so they an be expired independently from the groups they belong to.
Implemented pushId expiry mechanism. Introduced internal PushID class meant to keep track of the last access time and the groups the pushId belongs to. Refactored code to iterate safely over shared collections. Also the map lookups are changed to avoid any NPE exceptions caused by concurrent accesses.