leventov
d897891bfb
Great refactoring
2015-01-17 03:19:35 +07:00
leventov
81f6142af7
Clearly separated notion of entries and chunks, averageKeySize()/ValueSize() instead of keySize()/valueSize(), minor fixes and refactorings
2014-12-26 05:22:54 +07:00
Rob Austin
326e5f32f1
HCOLL-259 enhanced the DataValueConverter to now support Map<->JSON and back, of nested $$Native classes, such as those examples used with the BondVOInterface.
2014-12-24 18:08:52 +00:00
leventov
59add5e42f
HCOLL-263 assume direct off-heap impls only used if fails to generate generic off-heap/on-heap readers/writers
2014-12-21 21:47:07 +07:00
Rob Austin
3bdfeae8f1
updated to use - chm.newValueInstance();
2014-12-21 08:45:33 +00:00
leventov
872d34e230
JLANG-39 HCOLL-214 refactored builders (leaved a single builder class), fixes in DataValueBytesMarshallers implementation
2014-12-11 20:31:57 +07:00
Peter Lawrey
6d4b143903
Remove double and triple blank lines
2014-11-30 22:43:32 +02:00
Rob Austin
e772737f36
HCOLL-81 renamed ChronicleMap to ChronicleMapOnHeapUpdatableBuilder as Peter wanted the OffHeapUpdated Builder to be the default ChronicleMapBuilder.
2014-11-14 12:59:03 +00:00
Peter Lawrey
014a5fd154
Update example with acquireUsingLocked and getUsingLocked.
2014-11-13 22:04:57 +00:00
leventov
4a51b129a3
Many renames, API refactorings, classes/interfaces made private to net.openhft.chronicle.map package
...
Conflicts:
src/main/java/net/openhft/chronicle/map/StatelessChronicleMap.java
src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
2014-11-07 12:10:40 +03:00
Rob Austin
9dec1ed4db
reverted cff7c5bea8
2014-11-04 14:44:59 +00:00
Rob Austin
a0c89935f5
reverted cff7c5bea8
2014-11-04 14:29:06 +00:00
leventov
0c45ee8aff
HCOLL-136 HCOLL-137 HCOLL-153 HCOLL-160
...
1. Separated ChronicleMapBuilder (for non-Byteable values) and
OffHeapUpdatableChronicleMapBuilder (for Byteable values) with common base
AbstractChronicleMapBuilder (public just to inherit common javadocs)
2. Added ChronicleHashBuilder.keyDeserializationFactory() and
AbstractChronicleMapBuilder.valueDeserializationFactory() (former
ChronicleMapBuilder.valueFactory() method)
3. Changed ChronicleMap.get(), getUsing() API and impl to what was
initially intended - now they ALWAYS returns null, if key is absent
4. acquireUsing() API, common for the cases with Byteable and non-Byteable
values: puts defaultValue or defaultValueProvider.get(key), if the key is
absent, then acquireUsing() behaves just like getUsing()
5. For off0heap updatable ChronicleMaps (Byteable values), added
prepareValueBytes() configuration which formalizes zeroing out value bytes
6. Javadoc fixes and improvements
2014-10-27 20:15:26 +03:00
Peter Lawrey
ea779997cf
Remove <p/> from copyright messages
2014-10-24 11:30:25 +01:00
Rob Austin
8e57eeafc2
HCOLL-167 simplified the map builder by making "file" very much an option parameter, is it not REQUIRED for all types of maps. Also updated the many of the TCP replication test to remove the user of file() as its simply not required for this in many cases.
2014-10-20 17:19:27 +01:00
leventov
7d1e4dd2df
HCOLL-156 changed default value object factory from AllocateInstanceObjectFactory to NewInstanceObjectFactory
2014-10-07 00:52:26 +04:00
Rob Austin
255af2987e
HCOLL-152 - udpated the java version to 1.7 and added a random file name to -> File file = new File(TMP + "/chm-myBondPortfolioCHM-" + System.nanoTime());
2014-10-04 15:16:14 +01:00
Rob Austin
e6b1a41f75
HCOLL-152 - udpated the java version to 1.7 and added a random file name to -> File file = new File(TMP + "/chm-myBondPortfolioCHM-" + System.nanoTime());
2014-10-04 15:04:08 +01:00
leventov
a7750e6826
HCOLL-150 BondVOInterface example fixed
2014-10-04 09:08:49 +04:00
leventov
ea16356d46
New Chronicle-Map
2014-09-05 17:39:51 +04:00