Commit Graph
299 Commits
Author SHA1 Message Date
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 39cf492171 HCOLL-155 implemented lookupUsing(K key, V value, LockType lockTypeType) for ReplicatedVanChronMap 2014-11-04 16:53:39 +00:00
Rob Austin 8e278ae62b HCOLL-155 added a kvContext.dontPutOnClose(); to imporve performance on aquireUsing(key,value) 2014-11-04 15:44:48 +00:00
Rob Austin a031362da1 added back in moved files 2014-11-04 14:46:54 +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
Peter Lawrey cff7c5bea8 Improve lock handling. 2014-11-02 23:39:22 +00:00
Peter Lawrey b8e82c8f19 Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
2014-11-02 23:33:43 +00:00
Peter Lawrey a489c74cf9 Improve lock handling. 2014-11-02 23:29:30 +00:00
Rob Austin 507e3d5259 Merge remote-tracking branch 'origin/master' 2014-11-02 23:19:34 +00:00
Rob Austin 580b6aba78 HCOLL-155 cleaned up putOnClose 2014-11-02 23:18:58 +00:00
Peter Lawrey 245908baad Add a perf test for acquireUsingLocked. 2014-11-02 23:09:21 +00:00
Rob Austin 2e98febfeb HCOLL-155 fixed bug around lock type 2014-11-02 18:41:02 +00:00
Rob Austin f0bf9151f0 HCOLL-155 minor changes 2014-11-02 18:38:44 +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 d25fafaf66 Merge remote-tracking branch 'origin/master' 2014-11-02 00:16:39 +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
leventov 8edcecbbce Improved MapEventListener documentation [dc] 2014-11-01 20:20:56 +03: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
Peter Lawrey 9a6af6a6fb Select OF_4_BYTES for Byteable values. (possibly OF_8_BYTES in the future) 2014-11-01 09:26:38 +00:00
Peter Lawrey a8a9f1e76e Simplify read/write locks. remove readers waiting count. 2014-10-31 21:12:05 +00:00
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