@Override
	public long increment(String name, long amount, DateTime dateTime) {
		final AggregateKeyGenerator akg = new AggregateKeyGenerator(getPrefix(), name, dateTime);

		String bookkeepingKey = bookkeepingKeyFor(name);

		doIncrementHash(akg.getYearsKey(), akg.getYear(), amount, bookkeepingKey);
		doIncrementHash(akg.getYearKey(), akg.getMonth(), amount, bookkeepingKey);
		doIncrementHash(akg.getMonthKey(), akg.getDay(), amount, bookkeepingKey);
		doIncrementHash(akg.getDayKey(), akg.getHour(), amount, bookkeepingKey);
		doIncrementHash(akg.getHourKey(), akg.getMinute(), amount, bookkeepingKey);

		return super.increment(name, amount);
	}
Redis implementation of {@link AggregateCounterRepository}. Subclasses and intercepts calls to
{@link RedisCounterRepository} to also track counts in various redis hashes.

@author Eric Bottard
@author Luke Taylor
spring-xd-analytics/src/main/java/org/springframework/xd/analytics/metrics/redis/RedisAggregateCounterRepository.java