protected int getTtl ( Locator locator , RollupType rollupType , Granularity granularity ) { return ( int ) TTL_PROVIDER . getTTL ( locator . getTenantId ( ) , granularity , rollupType ) . get ( ) . toSeconds ( ) ; }
Gets the TTL for a particular locator rollupType and granularity .