Commit Graph
8 Commits
Author SHA1 Message Date
leventov d897891bfb Great refactoring 2015-01-17 03:19:35 +07:00
leventov 09008f16fe Moved more classes from net.openhft.chronicle.hash.serialization to .internal 2014-11-07 14:40:11 +03:00
Rob Austin 2f73cf1f39 renamed common to hash 2014-10-29 12:11:24 +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 3e3689be39 HCOLL-167 moved serilization and exceptions to common 2014-10-20 18:19:15 +01:00
leventov d11e02d48f Moved seriaization and threadlocal packages up: n.o.chronicle.map -> n.o.chronicle 2014-10-19 21:13:13 +04:00
leventov fa8d857ab6 HCOLL-147 factored ChronicleMap 'default-valuing' configuration from MapEventListener 2014-10-03 07:14:08 +04:00