Exemplo n.º 1
0
 public DefaultDataContainer(int concurrencyLevel, Equivalence keyEq, Equivalence valueEq) {
   // If at least one comparing implementation give, use ComparingCHMv8
   entries = CollectionFactory.makeConcurrentMap(128, concurrencyLevel, keyEq, valueEq);
   evictionListener = null;
 }
Exemplo n.º 2
0
 public DefaultDataContainer(int concurrencyLevel) {
   // If no comparing implementations passed, could fallback on JDK CHM
   entries = CollectionFactory.makeConcurrentMap(128, concurrencyLevel);
   evictionListener = null;
 }