Commit Graph
220 Commits
Author SHA1 Message Date
Peter Lawrey 49b51d151d Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/java/net/openhft/chronicle/hash/ChronicleHash.java
2014-11-09 14:05:22 +00:00
Peter Lawrey b612bc5678 HCOLL-194 Code tidy. 2014-11-09 14:01:22 +00:00
Peter Lawrey 194b25b20d HCOLL-194 Add I24 -> I24 multimap. 2014-11-09 14:00:59 +00:00
leventov 2f53d56c13 Test the hypotesis TeamCity doesn't run test classes without token 'Test' in the name 2014-11-08 05:42:17 +03:00
leventov 1790f7c511 More replication API renames and Wiki updated 2014-11-08 05:41:17 +03:00
leventov c0d9099da9 Some renames in replication API, fixed potential issue with networkInterface configuration for udp multicast 2014-11-08 05:26:10 +03:00
Peter Lawrey 0bcfa7ee43 Port to windows 2014-11-07 22:26:54 +00:00
Rob Austin c2e85064d6 HCOLL-192 added test case net.openhft.chronicle.map.EventListenerTestWithTCPSocketReplication.testRemoteNotifyRemove() - and implemented its functionality. 2014-11-07 18:46:26 +00:00
leventov 8211986f29 Fixed invalid TCPSocketReplicationBootStrapTests 2014-11-07 18:53:45 +03:00
Rob Austin c52f6fd96a Merge remote-tracking branch 'origin/master' 2014-11-07 13:42:59 +00:00
Rob Austin 67379f0c8b HCOLL-192 onPut now returns the replacedValue ( previous value ) 2014-11-07 13:42:08 +00:00
leventov 8d64a6f8e8 Minor API cleanups 2014-11-07 16:37:27 +03:00
leventov f96d369cdd HCOLL-136 HCOLL-137 Improved BytesReader, BytesWriter and BytesInterop docs [dc] 2014-11-07 14:16:31 +03:00
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
Rob Austin cbe94bcbb2 HCOLL-191 - added missing tests 2014-11-06 22:46:54 +00: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 07aa6d883b HCOLL-191 added missing close to the test case 2014-11-06 18:30:56 +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
Rob Austin 6b991b6678 removed failing tests 2014-11-06 14:28:27 +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 2da3873fc7 HCOLL-155 added a timeout to the tests via @Test(timeout = 5000) 2014-11-04 15:46:33 +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 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 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 55e50d40a3 HCOLL-167 added timeout to the test 2014-11-02 13:04:09 +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
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 8e9aba6b77 Try to correct the testAcquirePerf 2014-10-31 21:31:39 +00:00
Peter Lawrey 7cbef9ba13 Try to correct the CHMLatenctTestMain 2014-10-31 21:25:42 +00:00
Peter Lawrey b5df3d0095 Try to correct the CHMLatenctTestMain 2014-10-31 21:23:39 +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
Rob Austin 99af8ce11e reduced threadlocal lookups 2014-10-29 16:46:31 +00:00
Rob Austin 6863205259 HCOLL-167 tests now working again ! 2014-10-29 16:21:44 +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
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
Rob Austin 71a8d7452c Merge remote-tracking branch 'origin/master' 2014-10-29 13:30:53 +00:00
Rob Austin 6105552b5f fixed an issue around close 2014-10-29 13:30:23 +00: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
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 cafc507782 Merge remote-tracking branch 'origin/master' 2014-10-29 10:07:32 +00:00
Rob Austin 94e2e14d0a removed test -ng 2014-10-29 10:06:56 +00:00