HCOLL-21 An event polling API for SHM to support replication - introduced SharedSegment