def lru_key_func(x):
    """
    Least Recently Used key function.

    :param x: (:class:`~hazelcast.near_cache.DataRecord`)
    :return: (float), last access time of x.
    """
    return x.last_access_time
