blueflood-core/src/main/java/com/rackspacecloud/blueflood/io/AbstractMetricsRW.java
protected int getTtl(Locator locator, RollupType rollupType, Granularity granularity) {
        return (int) TTL_PROVIDER.getTTL(locator.getTenantId(),
                    granularity,
                    rollupType).get().toSeconds();
    }
protected int getTtl(Locator locator, RollupType rollupType, Granularity granularity) {
        return (int) TTL_PROVIDER.getTTL(locator.getTenantId(),
                    granularity,
                    rollupType).get().toSeconds();
    }
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.

@param locator
@param rollupType
@param granularity
@return
Gets the TTL for a particular locator rollupType and granularity .