Commit Graph
79 Commits
Author SHA1 Message Date
Rob Austin 887f72bc34 HCOLL-240 Thread safety issue in the stateless client 2014-12-11 19:31:31 +00:00
Rob Austin 5e5b969bf2 Merge remote-tracking branch 'origin/master' 2014-12-11 10:40:10 +00:00
Rob Austin 2bc16c4edf updated tests 2014-12-11 10:39:33 +00:00
Rob Austin 8d347e4f28 renamed to putWith() to putMapped() 2014-12-10 15:33:25 +00:00
Peter Lawrey f6ebed3c7c Update lang to the latest version 2014-12-10 11:46:34 +00:00
Rob Austin 2dc8b49239 HCOLL-234 changed to .entries(1000) 2014-12-09 20:03:06 +00:00
Rob Austin 7486723d8c HCOLL-230 - updated the protocol between the client and the server to include the id and timestamp 2014-12-08 12:35:08 +00:00
boundedbuffer f79029f280 removed getLater(0 putLater() and removeLater() because the stateless client is now mulithreaded 2014-12-07 11:04:07 +00:00
Rob Austin f77d798cde HCOLL-230 - minor improvements 2014-12-06 06:23:46 +00:00
Rob Austin 3e75991c17 HCOLL-230 - reverted back to using ReentrantLock 2014-12-05 20:57:29 +00:00
Rob Austin a10f395db7 HCOLL-230 - its not possible unfortunaly to read and write a socketConnection between threads, all the access to the socket connections has to be on a single 2014-12-05 20:04:29 +00:00
Rob Austin b3d9682aad HCOLL-230 - updated entrySet to multi threaded 2014-12-05 17:14:20 +00:00
Rob Austin 184d17e811 HCOLL-230 - checking in fixes to the multi threaded stateless client, it now works ( kind of ), unless its put under load, test net.openhft.chronicle.map.StatelessClientTest.testThreadSafeness will gradually slow down - so am still looking into this issue further. 2014-12-05 16:33:12 +00:00
Rob Austin 97c716b67f HCOLL-230 - introduced ReentrantLocks in order to remove the blocking nature of the statelessClient methods 2014-12-04 19:01:31 +00:00
Rob Austin 9409fac001 HCOLL-230 - split the buffers into a read buffer and a write buffer, add trace code for debugging ( which will be removed soon ) 2014-12-04 11:03:54 +00:00
Peter Lawrey 1e40c765f8 Remove blank lines at the start of methods and loops. 2014-11-30 22:48:57 +02:00
Peter Lawrey adae564595 Remove blank lines before } 2014-11-30 22:46:22 +02:00
Peter Lawrey 6dc1792f19 Improve test robustness and park flaky tests. 2014-11-30 22:05:33 +02:00
leventov 258347ed71 HCOLL-185 fixed a number of bugs in old code and new VanillaChronicleMap and ReplicatedChronicleMap (generalized instance/bytes queries), refactoring and minor fixes, switched to bytes queries for stateless client server 2014-11-29 20:39:00 +07:00
Rob Austin 84a9581c7f HCOLL-218 ReplicatedChronicleMapTest appears to use too much resources - I've looked at other tests as well and have attempted to ensure that close is called on every test, also prompting the GC to run after each test. 2014-11-26 16:24:57 +00:00
Rob Austin 70656a83b9 HCOLL-216 added removeLater 2014-11-25 14:27:25 +00:00
Rob Austin 632eb7fe81 HCOLL-216 added a test for testPutLater 2014-11-24 15:17:09 +00:00
Rob Austin 1e87d6ba8a HCOLL-216 added a test for getLater 2014-11-24 14:53:57 +00:00
Rob Austin a5fe252478 DOC-14 Stateless Client : enhancing the synchronous writes so we don't need a thread local client for each thread 2014-11-24 08:29:44 +00:00
Rob Austin a0689c09c9 HCOLL-213 - improved the stateless clients handling of large values 2014-11-17 20:06:12 +00:00
Rob Austin f854e96361 HCOLL-213 - started to integrate MapByName and improved the stateless clients handling of large values 2014-11-17 19:31:56 +00:00
Rob Austin ee261871ab HCOLL-81 removed unnecessary code and fixed test 2014-11-17 11:06:41 +00:00
Peter Lawrey 2aaf5b5395 HCOLL-81 extend support for mapForkey to all maps. 2014-11-15 12:31:02 +00:00
Peter Lawrey b8ac1da4e1 Function works in java7 too. 2014-11-15 12:11:53 +00:00
Rob Austin 49fc123755 HCOLL-81 made publicly a single ChronicleMapBuilder, that delegates onto internal implementations 2014-11-15 09:05:26 +00:00
Rob Austin cc94c22ab9 HCOLL-81 moved java8 code to its own module 2014-11-14 15:57:09 +00:00
Rob Austin 48c588c4aa HCOLL-81 added test for when there is no entry 2014-11-14 15:11:53 +00:00
Rob Austin e772737f36 HCOLL-81 renamed ChronicleMap to ChronicleMapOnHeapUpdatableBuilder as Peter wanted the OffHeapUpdated Builder to be the default ChronicleMapBuilder. 2014-11-14 12:59:03 +00:00
Rob Austin 0b48fa564e HCOLL-81 commented out test as its a java8 only test 2014-11-14 12:00:09 +00:00
Rob Austin 0fd6e98bed HCOLL-81 StatelessClient : Add a visitor pattern to Chronicle Map ( tested with lamda expressions in java8 ) 2014-11-14 11:58:12 +00:00
Rob Austin bfc2dcac25 HCOLL-81 StatelessClient : Add a visitor pattern to Chronicle Map 2014-11-13 18:55:15 +00:00
Rob Austin 316951efba Improved the stateless client test cases 2014-11-13 15:58:31 +00:00
Peter Lawrey fa4ecf828d Improve closing of resources on windows system. 2014-11-13 00:09:11 +00:00
Peter Lawrey 56e92380b2 Tweek tests for windows. 2014-11-11 18:42:50 +00:00
Rob Austin c1b0b53fdf HCOLL-200 fixed - testBootstrapAndHeartbeat 2014-11-11 16:32:10 +00:00
leventov 59f53fd115 Renamed TcpConfig static factories back to of() 2014-11-11 17:16:57 +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
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 6327a6ab9d HCOLL-191 synchronized on close() and check back in the stateless client test 2014-11-06 18:51:48 +00:00
Rob Austin 6b991b6678 removed failing tests 2014-11-06 14:28:27 +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 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