Commit Graph
1377 Commits
Author SHA1 Message Date
Peter Lawrey bb94e0e547 Consolidate segment headers to reduce TLB misses. Re-tune the calculated number of segments based on the size of data. 2014-10-31 17:33:10 +00:00
leventov ff697fa012 PrepareValueBytes imporovements and documentations [documentation campaign] 2014-10-30 16:11:20 +03:00
Rob Austin 4d9fe081d0 updated dependencies for release - and improved stateless client 2014-10-29 19:14:30 +00:00
Rob Austin 44b8683115 HCOLL-167 cleaned up the code 2014-10-29 18:28:56 +00:00
Rob Austin efc4f6223d HCOLL-167 cleaned up the code 2014-10-29 17:26:28 +00:00
Rob Austin 5990547d0a HCOLL-167 cleaned up my API 2014-10-29 17:12:34 +00:00
Rob Austin e654451d2f HCOLL-167 fixed an issue with the remove(null) not throwing NPE 2014-10-29 16:53:12 +00:00
Rob Austin 27fbe5c53d reduced threadlocal lookups 2014-10-29 16:48:17 +00:00
Rob Austin 1b3a089436 HCOLL-167 I;ve broken these tests trying to work out why 2014-10-29 16:12:52 +00:00
leventov 91a513b111 HCOLL-169 reduced replication API (not finished) 2014-10-29 18:45:00 +03:00
Rob Austin ff5d854bd1 Merge remote-tracking branch 'origin/master' 2014-10-29 15:32:29 +00:00
Rob Austin 99fcd2609e reduced threadlocal lookups 2014-10-29 15:31:54 +00:00
Peter Lawrey bfd866e45d Tweet the constants used for hashing based on the city hash. 2014-10-29 13:53:08 +00:00
Peter Lawrey 4d7dd56c43 Use consistent hashing and thread local caches of StringBuilders. 2014-10-29 13:46:40 +00:00
leventov 20af7f5704 HCOLL-175 fix compilation issue (should be a part of the prev commit) 2014-10-29 16:26:02 +03:00
leventov 3e6004c3d2 HCOLL-175 entry&value default alignment changed to NO_ALIGNMENT; removed entryAndValueAlignment() method from public AbstractChronicleMapBuilder API (left only in OffHeapUpdatableCharonicleMapBuilder) 2014-10-29 16:22:49 +03:00
Rob Austin c4e907346d Merge remote-tracking branch 'origin/master' 2014-10-29 13:20:49 +00:00
Rob Austin 4992cb6c31 HCOLL-167 moved classes to hash as they are used for set as well. 2014-10-29 13:19:00 +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 70fdbb1fc6 HCOLL-167 moved classes to hash as they are used for set as well. 2014-10-29 12:59:18 +00:00
Rob Austin 2f73cf1f39 renamed common to hash 2014-10-29 12:11:24 +00:00
Rob Austin ebecafe54a HCOLL-167 added support to auto resize the buffers. 2014-10-29 11:01:03 +00:00
Rob Austin 94e2e14d0a removed test -ng 2014-10-29 10:06:56 +00:00
Rob Austin f647f91b69 HCOLL-167 added support to delegate stateless client method calls to VChronicleMap 2014-10-28 21:29:34 +00:00
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