Commit Graph
101 Commits
Author SHA1 Message Date
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 8ca3d466b7 HCOLL-230 - removed trace code and unwanted methods 2014-12-04 19:21:15 +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
Rob Austin 8d28d0194d HCOLL-230 - I flipped around the exception flag and the transaction id 2014-12-03 17:40:15 +00:00
Rob Austin ca98f659fd added the following to prevent writting to a socket that is not bound - if (!clientChannel.finishConnect() || !clientChannel.socket().isBound()) 2014-12-03 15:19:58 +00:00
Rob Austin 2e2798f318 fixed typo on comment 2014-12-03 10:07:42 +00:00
Rob Austin 2541d5acfd HCOLL-229 fix to -stateless client : Terminated thread causes next thread to read the other threads message 2014-12-03 10:06:26 +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 6d4b143903 Remove double and triple blank lines 2014-11-30 22:43:32 +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 71e4ddfd1f Resurrecting some commented out test and removing the sleep from the close on StatelessClient 2014-11-27 21:07:02 +00:00
Rob Austin 87007fd80c fixed failing tests 2014-11-27 19:23:46 +00:00
Rob Austin a386fb0cad HCOLL-219 support the importing and exporting of entries to a human readable file format like JSON 2014-11-27 11:40:07 +00:00
Rob Austin 0f0c928676 HCOLL-216 introduced Netty reflection patch for NIO selectors 2014-11-26 18:09:31 +00:00
Rob Austin 21b0d96493 HCOLL-216 added better close support for the executor 2014-11-25 15:17:53 +00:00
Rob Austin 70656a83b9 HCOLL-216 added removeLater 2014-11-25 14:27:25 +00:00
Rob Austin abcf1fabc4 HCOLL-216 refactored so that we only have one StatelessChronicleMap class 2014-11-25 13:21:46 +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 5fb243e301 HCOLL-134 improved stateless map when configured with very small entry sizes 2014-11-21 17:38:45 +00:00
Rob Austin a8479ee02f HCOLL-134 better handling of toString() and close() of the TCP connections 2014-11-20 18:48:58 +00:00
Rob Austin f0c099cd62 removed code that was commented out. 2014-11-17 20:12:54 +00:00
Rob Austin 2971efac55 HCOLL-213 - added debug log about resizing buffer 2014-11-17 20:09:16 +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
Peter Lawrey 30a2eb78fb HCOLL-81 Update tests for lambdas in Java 8. 2014-11-15 13:43:54 +00:00
Peter Lawrey 3750bc4f8e HCOLL-81 make it clear that mapForKey is read only as it uses a Function and updateForKey is read/write and takes a mutator. 2014-11-15 12:56:37 +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 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 74424fae09 removed unwanted sleep 2014-11-13 10:43:10 +00:00
Peter Lawrey 82b55fbd78 Ensure Nagle is always off. 2014-11-12 19:13:29 +00:00
Rob Austin 054c7aee6c added time to close makes the test more stable 2014-11-11 18:37:14 +00:00
Rob Austin 96f59131b1 added time to close makes the test more stable 2014-11-11 17:59:13 +00:00
Rob Austin 1658a8a664 added time to close makes the test more stable 2014-11-11 17:47:31 +00:00
Rob Austin 94aabe3911 reverted back to allow acquireUsing to be passsed a NULL value 2014-11-11 08:56:36 +00:00
Rob Austin 0edb2252fa HCOLL-155 improved documentation 2014-11-10 13:25:59 +00:00
leventov 8d64a6f8e8 Minor API cleanups 2014-11-07 16:37:27 +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 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