support attribute for maxmemory-policy.