protected void insertLocatorIfDelayed(IMetric metric) throws IOException {
        Locator locator = metric.getLocator();
        if ( isDelayed(metric) ) {
            int slot = getDelayedSlot(metric);
            if (!LocatorCache.getInstance().isDelayedLocatorForASlotCurrent(slot, locator)) {
                delayedLocatorIO.insertLocator(DELAYED_METRICS_STORAGE_GRANULARITY, slot, locator);
                LocatorCache.getInstance().setDelayedLocatorForASlotCurrent(slot, locator);
            }
        }
    }
protected void insertLocatorIfDelayed(IMetric metric) throws IOException {
        Locator locator = metric.getLocator();
        if ( isDelayed(metric) ) {
            int slot = getDelayedSlot(metric);
            if (!LocatorCache.getInstance().isDelayedLocatorForASlotCurrent(slot, locator)) {
                delayedLocatorIO.insertLocator(DELAYED_METRICS_STORAGE_GRANULARITY, slot, locator);
                LocatorCache.getInstance().setDelayedLocatorForASlotCurrent(slot, locator);
            }
        }
    }
protected void insertLocatorIfDelayed ( IMetric metric ) throws IOException { Locator locator = metric . getLocator ( ) ; if ( isDelayed ( metric ) ) { int slot = getDelayedSlot ( metric ) ; if ( ! LocatorCache . getInstance ( ) . isDelayedLocatorForASlotCurrent ( slot , locator ) ) { delayedLocatorIO . insertLocator ( DELAYED_METRICS_STORAGE_GRANULARITY , slot , locator ) ; LocatorCache . getInstance ( ) . setDelayedLocatorForASlotCurrent ( slot , locator ) ; } } }
This method inserts the locator into the metric_delayed_locator column family, if the metric is delayed.

@param metric
@throws IOException
This method inserts the locator into the metric_delayed_locator column family if the metric is delayed .