Commit Graph
111 Commits
Author SHA1 Message Date
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
leventov ec6e99224d Remote udpates remove positions from modifications iterators (previously was not touching modification iterators; fixed a small bug in ReplicatedCHronicleMap.removeWithoutUnlock(); fixed soak tests with random data 2014-12-03 20:26:52 +07:00
Rob Austin c4417ddbe4 adding net.openhft.chronicle.map.NoTcpReplicationSoakTest 2014-12-02 20:08: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
Peter Lawrey 6dc1792f19 Improve test robustness and park flaky tests. 2014-11-30 22:05:33 +02:00
Peter Lawrey 6fdfc9184c HCOLL-211 Add BytesMarshaller and improve handling of invalid sizes. 2014-11-30 14:18:45 +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
leventov 40a3080ac9 HCOLL-185 refactored VanillaChronicleMap and ReplicatedChronicleMap; split BytesMapEventListener from MapEventListener; many bug fixes and optimizations; Stateless client queries without serialization/deserialization not working yet 2014-11-28 00:05:49 +07:00
Rob Austin e6dcef2e81 HCOLL-216 reintroduced the spin look into the selector 2014-11-27 07:21:06 +00:00
Rob Austin 0f0c928676 HCOLL-216 introduced Netty reflection patch for NIO selectors 2014-11-26 18:09:31 +00:00
Rob Austin 8f80aaa1b8 HCOLL-218 ReplicatedChronicleMapTest appears to use too much resources. reduced resources used by this test - ( plus a few other changes ) 2014-11-26 13:38:43 +00:00
Rob Austin b747788152 HCOLL-216 added a fix to the TcpReplicator to stop OP_WRITE from spinning when working with the stateless client - also introduced the Netty like code for patching the
nio selector to reduce object creation.
2014-11-25 20:45:43 +00:00
Rob Austin 97405a73ce HCOLL-216 changed log line to debug 2014-11-25 14:29:25 +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 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 ae26c293c7 HCOLL-134 changed the default so that is does not autoReconnectedUponDroppedConnection, however it better if most of the test cases have this can you can guarantee that the server is ready to accept TCP/IP before the client. 2014-11-21 11:04:26 +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 bf65306246 HCOLL-134 returned the remoteIdentifier back to a BYTE and improved the MapByName 2014-11-20 12:18:07 +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 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 b8ac1da4e1 Function works in java7 too. 2014-11-15 12:11:53 +00:00
Rob Austin 54b5412e53 HCOLL-81 simplified code by using lookupUsing 2014-11-14 15:05:07 +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
Peter Lawrey f5f2139428 Fix a thread safety issue ThreadLocalCopies triggered when running StringsMapMain. 2014-11-12 21:04:42 +00:00
Peter Lawrey 82b55fbd78 Ensure Nagle is always off. 2014-11-12 19:13:29 +00:00
Rob Austin 83e68add4e HCOLL-200 removed the isClosed ( and discussed with Roman why ) 2014-11-11 15:45:37 +00:00
leventov 6962919732 Renamed IdentifierListener to RemoteNodeValidator and moved this configuration from TcpConfig to Replication builders 2014-11-10 07:53:30 +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
Rob Austin 28d20d03b6 HCOLL-192 I've reviewed the code around this, it looks like this size constraint was a hang up from when we only allowed replicated entries to be no larger than max unsigned short, the underlying code was changed recently when we introduced the stateless client to allow much larger payloads. As such I've have increased this constrain to Integer.MAX_VALUE 2014-11-07 11:14:33 +00: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 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 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 4cf1cc198a HCOLL-167 cleaned up constructor of StatelessChronicleMap 2014-11-02 12:53:14 +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 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 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 27fbe5c53d reduced threadlocal lookups 2014-10-29 16:48:17 +00:00