Commit Graph
140 Commits
Author SHA1 Message Date
Rob Austin 8d44587c7c HCOLL-197 - improved buffer resizing 2014-12-20 13:27:59 +00:00
Rob Austin fbd99b80b5 HCOLL-240 now setting clientChannel to NULL on close 2014-12-19 09:10:20 +00:00
Rob Austin 2f57721f52 HCOLL-240 now setting clientChannel to NULL on close 2014-12-19 09:08:45 +00:00
Rob Austin c0df25de32 HCOLL-254 updarted CHMUseCasesTest to work with replication and the stateless cleint. 2014-12-15 19:44:06 +00:00
Rob Austin 84a77e89f5 HCOLL-240 set -" private final ReentrantLock inBytesLock = new ReentrantLock(true);" 2014-12-15 11:21:39 +00:00
Rob Austin 39d35914ab HCOLL-240 changed to tcpBufferSize() 2014-12-12 15:37:06 +00:00
Rob Austin 25cfd6ff50 HCOLL-240 aim to fill up the whole packet to reduce the amount of data sent 2014-12-12 13:51:19 +00:00
Rob Austin 7f29702919 HCOLL-240 removed the over use of clear() 2014-12-12 12:51:26 +00:00
Rob Austin 5a79efe54f HCOLL-240 upped test 2014-12-11 20:10:56 +00:00
Rob Austin ed0c964bd3 HCOLL-240 improved assertions 2014-12-11 20:02:28 +00:00
Rob Austin be4d32b82c HCOLL-240 fixed merge issues 2014-12-11 19:47:06 +00:00
Rob Austin dcf292858d HCOLL-240 Thread safety issue in the stateless client 2014-12-11 19:39:34 +00:00
Rob Austin 3d0364ab75 Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/java/net/openhft/chronicle/map/StatelessChronicleMap.java
2014-12-11 19:36:50 +00:00
Rob Austin 887f72bc34 HCOLL-240 Thread safety issue in the stateless client 2014-12-11 19:31:31 +00:00
leventov 872d34e230 JLANG-39 HCOLL-214 refactored builders (leaved a single builder class), fixes in DataValueBytesMarshallers implementation 2014-12-11 20:31:57 +07:00
Peter Lawrey c5396b23e8 HCOLL-211 Fixing a few tests to cover the use cases. 2014-12-10 17:49:00 +00:00
Rob Austin 18554f4ccc introduced newKeyInstance and newValueInstance 2014-12-10 17:21:30 +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 7cc79ea2c3 HCOLL-234 fixing CHMUseCaseTest 2014-12-09 14:16:52 +00:00
Rob Austin 767543cea6 HCOLL-234 as agreeded changed method name to "putWithMapping()" 2014-12-09 12:57:10 +00:00
Rob Austin 2df0426d83 HCOLL-234 as agreeded changed method name to "putWithMapping()" 2014-12-09 12:07:15 +00:00
Rob Austin 95b21ba2f8 HCOLL-234 fixing CHMUseCaseTest 2014-12-09 11:27:08 +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
Rob Austin 9065044ef4 HCOLL-230 - created nextEntry() 2014-12-08 10:14:47 +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
boundedbuffer 9bd56f32c6 minor refactors 2014-12-07 00:46:14 +00:00
boundedbuffer 81f7fdad0a added @NotNull ect 2014-12-07 00:17:36 +00:00
boundedbuffer 87e417d38a fixed tests 2014-12-07 00:01:12 +00:00
Rob Austin f77d798cde HCOLL-230 - minor improvements 2014-12-06 06:23:46 +00:00
Rob Austin bf5b61dde4 HCOLL-230 - updated comments 2014-12-05 23:34:38 +00:00
Peter Lawrey 99f83c1af7 BGChronicleTest working after merge 2014-12-05 22:46:56 +00:00
Peter Lawrey e2fcf91e28 Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/java/net/openhft/chronicle/map/StatelessChronicleMap.java
	src/test/java/eg/BGChronicleTest.java
2014-12-06 00:06:51 +02:00
Peter Lawrey 345496c84d Optimisation in Map perf test. 2014-12-05 23:55:40 +02:00
Rob Austin d8f381a8dc HCOLL-230 - refactors 2014-12-05 21:21:39 +00:00
Rob Austin f9e6a57839 HCOLL-230 - introduced outBytesLock 2014-12-05 21:04:03 +00:00
Rob Austin 3e75991c17 HCOLL-230 - reverted back to using ReentrantLock 2014-12-05 20:57:29 +00:00
Rob Austin 7a13da7d4d HCOLL-230 - removed unwanted receiveBuffer 2014-12-05 20:35:59 +00:00
Rob Austin 5f0ee5e6b5 HCOLL-230 - reverted back to previouse version 2014-12-05 20:28:42 +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 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