Change interface for soft expiring cache to take grace period in constructor