Commit Graph
19 Commits
Author SHA1 Message Date
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
Peter Lawrey 4d7dd56c43 Use consistent hashing and thread local caches of StringBuilders. 2014-10-29 13:46:40 +00:00
leventov f7edfce81b HCOLL-159 moved net.openhft.chronicle.hash.threadlocal package to Lang since it isn't specific to ChronicleMap at all 2014-10-29 16:11:21 +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
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 d11e02d48f Moved seriaization and threadlocal packages up: n.o.chronicle.map -> n.o.chronicle 2014-10-19 21:13:13 +04:00
leventov 48e1d0a05e Added some CharSequence encoding examples for future seriaization docs 2014-10-19 21:01:02 +04:00
Rob Austin 30a1abef06 HCOLL-163 fixed some merge issues. 2014-10-13 17:59:54 +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
Rob Austin df1bb8356e HCOLL-134 improved test cases 2014-10-03 10:26:21 +01:00
leventov ea16356d46 New Chronicle-Map 2014-09-05 17:39:51 +04:00