private function addAccumulativeEntry(
        EntryInterface $entry,
        $entryKey
    ) {
        $this->doRedisQuery(function () use ($entry, $entryKey) {
            $this
                ->redis
                ->incrby(
                    $entryKey . '_accum',
                    (int) $entry->getValue()
                );
        });

        return $this;
    }
private function addAccumulativeEntry(
        EntryInterface $entry,
        $entryKey
    ) {
        $this->doRedisQuery(function () use ($entry, $entryKey) {
            $this
                ->redis
                ->incrby(
                    $entryKey . '_accum',
                    (int) $entry->getValue()
                );
        });

        return $this;
    }
private function addAccumulativeEntry ( EntryInterface $ entry , $ entryKey ) { $ this -> doRedisQuery ( function ( ) use ( $ entry , $ entryKey ) { $ this -> redis -> incrby ( $ entryKey . '_accum' , ( int ) $ entry -> getValue ( ) ) ; } ) ; return $ this ; }
Add accumulative metric.

@param EntryInterface $entry    Entry
@param string         $entryKey Key entry

@return $this Self Object
Add accumulative metric .