private int IncrementPartitionGeneration(TPartition partition) { return(!GenerationalCachingEnabled ? 1 : CachingProvider.Increment(GetPartitionGenerationKey(partition), 1, 1, CacheItemPriority.NeverRemove)); }
private int IncrementCachingPrefixCounter() { return(CachingProvider.Increment(GetCachingPrefixCounterKey(), 1, 1, CacheItemPriority.NeverRemove)); }
private int IncrementGeneration() { return(!GenerationalCachingEnabled ? 1 : CachingProvider.Increment(GetGenerationKey(), 1, 1, CacheItemPriority.NeverRemove)); }