Commit Graph
1258 Commits
Author SHA1 Message Date
leventov 4c86dae04f Made TcpConfig back immutable; Draw the borderline: Builders are mutable, Configs are immutable (hence ChronicleHashInstanceBuilder and StatelessClientBuilder renamed to Configs; improved TcpConfig static factory naming 2014-11-07 12:24:52 +03:00
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
leventov 157891dc9d Inlined UdpReplicationConfigBean 2014-11-07 08:10:21 +03:00
Rob Austin 912308c4d3 HCOLL-191 - added tests and fix for reading keys and values 2014-11-06 22:45:18 +00:00
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 babd62e431 HCOLL-191 -Checking in a possible fix for this issue - "EventListener is not called correctly for a replicated map", but will require more testing. 2014-11-06 18:28:38 +00:00
Peter Lawrey f8f99c7c00 Fix a generic in Javadoc. 2014-11-06 15:22:28 +00:00
Rob Austin 8740ef1568 HCOLL-155 updated java doc 2014-11-05 09:38:49 +00:00
Rob Austin faf7bf939d HCOLL-155 updated java doc to include readlock 2014-11-05 09:37:02 +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 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