Commit Graph
253 Commits
Author SHA1 Message Date
Rob Austin d4581ff985 HCOLL-167 refactor around the transaction id 2014-10-28 20:04:13 +00:00
Rob Austin f4f6365eae HCOLL-167 moved the transaction id to the start of the payload to may refactoring easier 2014-10-28 19:59:02 +00:00
Rob Austin 6274bb677c HCOLL-167 corrected some bad lables 2014-10-28 17:36:12 +00:00
Rob Austin e7b502c7c6 HCOLL-167 added support for values 2014-10-28 17:18:53 +00:00
Rob Austin 64d19bd359 HCOLL-167 removed trace code 2014-10-28 13:15:21 +00:00
Rob Austin f8a1872d32 HCOLL-167 fixed key set by added a compact method 2014-10-28 13:13:35 +00:00
Rob Austin ecef2ef98b HCOLL-167 fixed missing packets issue 2014-10-28 13:04:56 +00:00
Rob Austin a4542e55a7 Cleaned up test case 2014-10-28 10:07:29 +00:00
Peter Lawrey 5e7fe4a765 Merge remote-tracking branch 'origin/master' 2014-10-28 09:23:10 +00:00
Peter Lawrey 5e71647c52 Removing StringBuffer 2014-10-28 09:22:36 +00:00
leventov 3cf9b2e722 Employ MemoryUnit API 2014-10-28 06:44:38 +03:00
leventov 16f1e6aa46 Moved Replicator and Replicators to separate files for more convenient Intellij browsing 2014-10-28 04:12:36 +03:00
leventov 76bcc72ac5 Small fixes, should be part of 0c45ee8 2014-10-28 02:18:40 +03:00
leventov 777bcddba4 Refactored L1 cache associativity contention break in VanillaChronicleMap 2014-10-28 02:11:11 +03:00
leventov d9f7e2c7cb Reverted 4eeea5b 2014-10-28 01:33:42 +03:00
Rob Austin cc6bcc0cc2 Merge remote-tracking branch 'origin/master' 2014-10-27 20:10:25 +00:00
Rob Austin accebbfeea HCOLL-167 added support for keyset 2014-10-27 20:09:53 +00:00
Peter Lawrey 6547c86d5b Merge remote-tracking branch 'origin/master' 2014-10-27 19:58:38 +00:00
Rob Austin 8136b5e298 HCOLL-167 more refactors - statelss client 2014-10-27 19:56:46 +00:00
Peter Lawrey 15d2f5741f Merge remote-tracking branch 'origin/master' 2014-10-27 19:49:50 +00:00
Peter Lawrey 4eeea5bc62 Stabilty release based on YCSB. 2014-10-27 19:43:35 +00:00
Rob Austin 03236f31e5 HCOLL-167 more refactors statelss client 2014-10-27 19:11:28 +00:00
Rob Austin bb7d815094 Merge remote-tracking branch 'origin/master' 2014-10-27 17:39:34 +00:00
Rob Austin fcb80f5921 HCOLL-167 finally got chunking to work but it ugly - requires a bit of refactoring. 2014-10-27 17:38:58 +00:00
leventov a20ccd97c0 HCOLL-160 fixes after the prev commit 2014-10-27 20:35:09 +03: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
Rob Austin b374a9bd50 HCOLL-167 entrySet works for small chunks 2014-10-27 17:09:36 +00:00
Peter Lawrey a956ac2a0e Enhanced thread safety tests with the latest lang release 2014-10-27 15:59:22 +00:00
Rob Austin dceb852092 HCOLL-167 works with a small number of entries, there is a bug if we have a large number of entries 2014-10-27 13:14:56 +00:00
Peter Lawrey 412f9def7e Re-tune entry sizes for segments. 2014-10-27 11:24:15 +00:00
Peter Lawrey 470132d528 Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
2014-10-27 10:06:31 +00:00
Peter Lawrey d531c51021 Checkin point 2014-10-27 10:04:14 +00:00
leventov ffd66c3f52 Improved estimateSegments() heuristic and fix tests 2014-10-25 01:58:05 +04:00
leventov 7a86306e0b Yet another attempt to init freeList bitSet with the right length 2014-10-25 01:34:36 +04:00
leventov 58997967d7 Fixed a bug -- VanillaChronicleMap.Segment should allocate integral number of words (64-bit) for freeList (bit set) 2014-10-25 01:14:33 +04:00
leventov 061fc5b53b HCOLL-172 Verified thath IntIntMultiMap now supports up to 2^32 entries; ShortShortMultiMap up to 2^16; ChronicleMap.Segment are now long-sized; attempt to support non-power-of-2 number of segments by HashSplitting (not tested yet); improved logic and dependencies between actualSegments(), actualEntriesPerSegments() and minSegments() methods in ChronicleMapBuilder; minor fixes 2014-10-25 00:45:59 +04:00
Rob Austin 1404f9508c Merge remote-tracking branch 'origin/master' 2014-10-24 14:54:54 +01:00
Rob Austin cbe6253ca7 HCOLL-167 added support for larger entry sizes 2014-10-24 14:54:17 +01:00
Peter Lawrey 9ace610ca5 Fixed Javadoc errors for Java 8 2014-10-24 11:48:51 +01:00
Peter Lawrey ea779997cf Remove <p/> from copyright messages 2014-10-24 11:30:25 +01:00
Peter Lawrey 796fc829b0 Merge remote-tracking branch 'origin/master' 2014-10-24 11:23:54 +01:00
Peter Lawrey c44aae129f Support read/write locking. 2014-10-24 11:23:15 +01:00
Rob Austin 59da12448e Merge remote-tracking branch 'origin/master' 2014-10-24 11:20:34 +01:00
Rob Austin f9f976acb5 HCOLL-167 added an equals() method, and improved buffer overflow, but its still not working correctly yet... 2014-10-24 11:19:13 +01:00
Peter Lawrey 3a3c634a19 Tuning headroom for larger Maps. 2014-10-23 22:18:45 +01:00
Peter Lawrey 9a8a2512f0 Tweek the sizing rules as well as optimise the hashing algo so it creates a more even distribution (for at least one set of test cases) 2014-10-23 21:20:46 +01:00
Rob Austin 113c51566a HCOLL-167 added testBufferOverFlowPutAll 2014-10-23 16:01:28 +01:00
Rob Austin 60b23535d1 HCOLL-167 added support for putAll() 2014-10-23 14:52:38 +01:00
Rob Austin f04cdd0d9f HCOLL-167 in and out now share the same buffer 2014-10-23 13:54:08 +01:00
Rob Austin 0abc9bc003 HCOLL-167 added support for read buffer overflow 2014-10-23 13:45:16 +01:00