@Test public void testDoNotPersist() throws Exception { loader = new MapLoader<>( HistogramKey.class, AgentDigest.class, 100, 200, 1000, HistogramKeyMarshaller.get(), AgentDigestMarshaller.get(), false); ConcurrentMap<HistogramKey, AgentDigest> map = loader.get(file); assertThat(((VanillaChronicleMap)map).file()).isNull(); testPutRemove(map); }
public ChronicleMap<K, V> get(File f) throws Exception { Preconditions.checkNotNull(f); return maps.get(f); }
MapLoader { public ChronicleMap<K, V> get(File f) throws Exception { Preconditions.checkNotNull(f); return maps.get(f); } }
MapLoader { public ChronicleMap<K, V> get(File f) throws Exception { Preconditions.checkNotNull(f); return maps.get(f); } MapLoader(Class<K> keyClass,
                   Class<V> valueClass,
                   long entries,
                   double avgKeySize,
                   double avgValueSize,
                   KM keyMarshaller,
                   VM valueMarshaller,
                   boolean doPersist); }
MapLoader { public ChronicleMap<K, V> get(File f) throws Exception { Preconditions.checkNotNull(f); return maps.get(f); } MapLoader(Class<K> keyClass,
                   Class<V> valueClass,
                   long entries,
                   double avgKeySize,
                   double avgValueSize,
                   KM keyMarshaller,
                   VM valueMarshaller,
                   boolean doPersist); ChronicleMap<K, V> get(File f); @Override String toString(); }
MapLoader { public ChronicleMap<K, V> get(File f) throws Exception { Preconditions.checkNotNull(f); return maps.get(f); } MapLoader(Class<K> keyClass,
                   Class<V> valueClass,
                   long entries,
                   double avgKeySize,
                   double avgValueSize,
                   KM keyMarshaller,
                   VM valueMarshaller,
                   boolean doPersist); ChronicleMap<K, V> get(File f); @Override String toString();  }