Commit Graph
54 Commits
Author SHA1 Message Date
Rob Austin 6327a6ab9d HCOLL-191 synchronized on close() and check back in the stateless client test 2014-11-06 18:51:48 +00:00
Rob Austin 130ee0f481 HCOLL-155 added java doc to - ReadContext<K, V> getUsingLocked(@NotNull K key, @NotNull V usingValue); 2014-11-05 09:32:44 +00: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
Rob Austin ef0cd0f96f HCOLL-155 removed acquireUsingReadLocked and acquireUsingWriteLocked to WriteContext<K,V> acquireUsingLocked(@NotNull K key, @NotNull V usingValue); and ReadContext<K,V> getUsingLocked(@NotNull K key, @NotNull V usingValue); 2014-11-02 18:35:26 +00:00
Rob Austin 4cf1cc198a HCOLL-167 cleaned up constructor of StatelessChronicleMap 2014-11-02 12:53:14 +00:00
Rob Austin 118ed1676f HCOLL-155 added two of peters tests and them implemented the code accordingly - the test are net.openhft.chronicle.map.ChronicleMapTest#testOffheapAcquireUsingLocked and net.openhft.chronicle.map.ChronicleMapTest#testOnheapAcquireUsingLocked 2014-11-02 00:16:02 +00:00
Rob Austin 100d839a8b HCOLL-155 uncompleted, checked in order that Peter can review the changes so far of - chm.acquireUsingReadLocked and chm.acquireUsingWriteLocked 2014-11-01 15:53:47 +00:00
Rob Austin 4d9fe081d0 updated dependencies for release - and improved stateless client 2014-10-29 19:14:30 +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 99fcd2609e reduced threadlocal lookups 2014-10-29 15:31:54 +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 f647f91b69 HCOLL-167 added support to delegate stateless client method calls to VChronicleMap 2014-10-28 21:29:34 +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 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 accebbfeea HCOLL-167 added support for keyset 2014-10-27 20:09:53 +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 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
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 ea779997cf Remove <p/> from copyright messages 2014-10-24 11:30:25 +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
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 b66daaaac9 HCOLL-167 improved the buffer overflow support 2014-10-23 11:11:24 +01:00
Rob Austin c226883924 HCOLL-167 more refactoring... 2014-10-22 20:31:18 +01:00
Rob Austin 6caebd3f2f HCOLL-167 more refactoring... 2014-10-22 20:24:38 +01:00
Rob Austin 8f2612caba HCOLL-167 refactored - doHandShaking() 2014-10-22 20:17:43 +01:00
Rob Austin 293a8d61ce HCOLL-167 added attemptConnect() to the Stateless Client 2014-10-22 19:54:30 +01:00
Rob Austin 2b050a9c3c HCOLL-167 finally to the stateless map to support a lazy connect 2014-10-22 19:42:45 +01:00
Rob Austin b7c10f6cb7 HCOLL-167 improving stateless map 2014-10-22 18:15:37 +01:00
Rob Austin ac6f3dd778 HCOLL-167 simplified the exception throwing code 2014-10-22 13:06:13 +01:00
Rob Austin c83030bc40 HCOLL-167 improved the StatelessChronicleMapTest 2014-10-21 20:47:50 +01:00
Rob Austin 997b678ed4 HCOLL-167 fixed up the tests 2014-10-21 18:58:31 +01:00
Rob Austin 3aa7da740c HCOLL-167 added timout time 2014-10-21 17:31:17 +01:00
Rob Austin c5d56752a2 HCOLL-167 added a working version of StatelessChronicleMapTest but requires refactoring, 2014-10-21 17:21:36 +01:00
Rob Austin d31bff4d14 HCOLL-167 added JSR166y tests 2014-10-21 08:21:35 +01:00
Rob Austin 3e3689be39 HCOLL-167 moved serilization and exceptions to common 2014-10-20 18:19:15 +01:00