View Javadoc

1   package com.atlassian.vcache.internal.harness;
2   
3   class CacheConfig
4   {
5       final Object cache;
6       final int numOfKeys;
7       final int maxSleepTime;
8       final int maxLoops;
9       final int chanceOfPutOp;
10      final int chanceOfGetOp;
11  //    final int chanceOfGetSupplierOp;
12  //    final int chanceOfRemoveAll;
13  
14  
15      public CacheConfig(Object cache, int numOfKeys, int maxSleepTime, int maxLoops, int chanceOfPutOp, int chanceOfGetOp)
16      {
17          this.cache = cache;
18          this.numOfKeys = numOfKeys;
19          this.maxSleepTime = maxSleepTime;
20          this.maxLoops = maxLoops;
21          this.chanceOfPutOp = chanceOfPutOp;
22          this.chanceOfGetOp = chanceOfGetOp;
23      }
24  }