Commit Graph
174 Commits
Author SHA1 Message Date
Peter Lawrey 87449b7d99 Replace "throws Exception" with the specific Exception(s) thrown.
Conflicts:
	src/main/java/net/openhft/chronicle/map/EngineReplicationLangBytes.java
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
	src/test/java/net/openhft/chronicle/map/IntIntMultiMapTest.java
2015-07-25 23:25:54 +03:00
leventov e7a8a11505 OHFT-58 Change license to LGPLv3 to protect redistribution 2015-07-25 23:12:23 +03:00
Rob Austin abebd13414 ignore java.util.concurrent.RejectedExecutionException when already closed 2015-07-25 16:04:29 +03:00
Rob Austin b9302248a2 now not closing on a - AsynchronousCloseException e 2015-07-25 16:02:49 +03:00
Rob Austin 76d6817c41 fixed NPE - java.lang.NullPointerException
at net.openhft.chronicle.map.StatelessChronicleMap.receiveBytesFromSocket(StatelessChronicleMap.java:1322)
                at net.openhft.chronicle.map.StatelessChronicleMap.nextEntry(StatelessChronicleMap.java:1216)
                at net.openhft.chronicle.map.StatelessChronicleMap.blockingFetchThrowable(StatelessChronicleMap.java:1162)
                at net.openhft.chronicle.map.StatelessChronicleMap.blockingFetchReadOnly(StatelessChronicleMap.java:1135)
                at net.openhft.chronicle.map.StatelessChronicleMap.readValue(StatelessChronicleMap.java:1484)
                at net.openhft.chronicle.map.StatelessChronicleMap.fetchObject(StatelessChronicleMap.java:1782)
                at net.openhft.chronicle.map.StatelessChronicleMap.put(StatelessChronicleMap.java:596)
                at net.openhft.chronicle.map.StatelessClientTest$3.run(StatelessClientTest.java:659)
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
                at java.util.concurrent.FutureTask.run(FutureTask.java:262)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
                at java.lang.Thread.run(Thread.java:745)
2015-07-25 15:56:45 +03:00
leventov 9fe1dab477 HCOLL-352 Changed garbage-free Chronicle-Map iterations API from old to new Contexts; Add SegmentContexts API 2015-07-24 20:11:58 +03:00
leventov 912a3cc2fc Removed ChronicleHash.context() method and changed acquireContext() return type from deprecated MapKeyContext to Closeable 2015-07-24 03:43:50 +03:00
leventov 5c8f737654 Revert 'Make working with new bytes' and a couple of fixes 2015-07-01 10:45:48 +03:00
leventov a61ea2240d Rollback to Bytes 1.0.5-alpha and Access 2015-06-27 20:30:22 +03:00
leventov ba27b5d631 Make working with the new Bytes 2015-06-24 06:37:38 +03:00
leventov 0c73a072eb Fix compilation issues 2015-06-15 22:00:06 +03:00
leventov bf20bc98c3 Fixed several replication bugs; Value -> Data; extracted ReplicableEntry as a superclass of HashReplicableEntry 2015-06-15 21:34:45 +03:00
leventov f1da352a5d Made listeners almost work for replication 2015-06-02 19:02:55 +01:00
leventov 4d99bd908e Fixed compilation issues 2015-05-27 11:57:13 +01:00
Rob Austin 638e85e79f attempting to fix build issues 2015-05-27 11:21:59 +01:00
leventov b4c8554b77 SPI implementation 2015-05-27 00:03:20 +01:00
Rob Austin 8d4eca3cd0 CE-20 preventing timeout out if DEBUG 2015-04-09 19:38:17 +01:00
Rob Austin 9402731c94 CE-20 move ClientWiredStatelessTcpConnectionHub to engine so that it can be used by other clients such as queue 2015-04-09 17:46:40 +01:00
Rob Austin 6037bd27e4 CE-20 moved the map lookup by name from engine to the map code ( but its a bit of a hack and requires implementing properly, but for the moment this demonstrates the API ) 2015-04-09 13:09:25 +01:00
leventov 16f85e4c5e First step in separation of core ChronicleHash functionality from Map and Set; Start Java 8 adoption; Bug fixes 2015-02-12 15:24:24 +07:00
leventov 06b326ab05 Implemented forEachEntry() and forEachEntryWhile() 2015-01-20 01:00:38 +07:00
leventov d897891bfb Great refactoring 2015-01-17 03:19:35 +07:00
leventov 96a0b57c66 HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>
Builder, removed addJsonConverter method from ChronicleMapBuilder
2015-01-02 00:36:30 +07:00
Rob Austin 5488d26c6a HCOLL-284 improved detection of closed connections. 2014-12-31 09:07:17 +00:00
Rob Austin 1443cb1f7c HCOLL-276 Server to send V/K serialisers to the stateless client - also now auto resizing buffer 2014-12-28 18:04:42 +00:00
Rob Austin 6c9e68f646 HCOLL-280 Allow users to define their own xStream serialisers 2014-12-27 21:30:02 +00:00
Rob Austin af44d25788 added net.openhft.chronicle.map.StatelessChronicleMap.getUsing 2014-12-26 17:59:52 +00:00
Rob Austin 6afd73bf30 HCOLL-239 - fixed :The JSON to Map import/export should work on the stateless client. 2014-12-26 12:11:53 +00:00
Rob Austin 107254737f HCOLL-184 fixed version check 2014-12-23 14:03:04 +00:00
Rob Austin 9dfecce021 HCOLL-184 added a remote version check 2014-12-23 12:59:15 +00:00
Rob Austin e257fca466 HCOLL-184 stateless client now returns the server and client versions 2014-12-23 12:07:51 +00:00
Rob Austin 9b7279daf0 HCOLL-184 added a method to return the server version from the stateless client 2014-12-23 11:25:58 +00:00
Rob Austin 7ad50e64ea updated test cases 2014-12-22 14:44:54 +00:00
Rob Austin 709e947166 HCOLL-197 - improved buffer resizing and removed entry size from the stateless client 2014-12-20 14:55:41 +00:00
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