add cache option to disable segment evition

{ttl,   undefined} disables segment expire timeout
{check, undefined} disables segment quota check
It makes cache behave as ets table