Commit Graph
1913 Commits
Author SHA1 Message Date
Rob Austin 90c4aebe5d added test case testReplicationUsingAProxyMapThatsUpdatedViaSharedMemory 2015-07-25 18:31:22 +03:00
Rob Austin 8a4291750c HCOLL-331 added the first part of this code, Ozan will complete and issue a pull request
Conflicts:
	src/main/java/net/openhft/chronicle/hash/replication/AbstractReplication.java
	src/main/java/net/openhft/chronicle/map/ChannelProvider.java
	src/main/java/net/openhft/chronicle/map/Replicators.java
	src/main/java/net/openhft/chronicle/map/TcpReplicator.java
2015-07-25 18:28:56 +03:00
Rob Austin 9a7eac0cc9 HCOLL-328 - Possible issue with ChronicleSet on restart 2015-07-25 18:22:51 +03:00
Rob Austin e2020e3ff2 testing off heap interfaces with String[]
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 18:14:13 +03:00
Rob Austin f4e13c78e9 HCOLL-309 added a return and now outputting the remote connection.
Conflicts:
	src/main/java/net/openhft/chronicle/map/TcpReplicator.java
2015-07-25 18:11:35 +03:00
Peter Lawrey 88076fbdc8 Increase test to 50 2015-07-25 18:03:33 +03:00
Rob Austin 71423382c2 removed unwanted test 2015-07-25 18:02:25 +03:00
Rob Austin 0f246f7355 changed to us File.createTempFile
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 18:01:17 +03:00
Rob Austin 2b954664fa HCOLL-302 removed map.close() 2015-07-25 17:57:21 +03:00
Rob Austin df84845fc2 HCOLL-302 fixed bug around heapSizeOrderedFieldsGrouped
Conflicts:
	src/main/java/net/openhft/chronicle/hash/serialization/internal/DataValueBytesMarshallers.java
2015-07-25 17:56:54 +03:00
Rob Austin da3e104974 ensure file location is unique - File file = new File(TMP + "/chronicle-map-" + System.currentTimeMillis() + (i++) + System.nanoTime() + ".json"); 2015-07-25 17:54:39 +03:00
Rob Austin 3ce0a03ca2 ensure that we close() on interupt
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 17:08:55 +03:00
Rob Austin 9557993b8f added @Ignore
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 17:08:07 +03:00
Rob Austin ba0b8e9add focusing on using autoClose 2015-07-25 17:03:46 +03:00
Rob Austin 1448aacdb9 focusing on using autoClose
Conflicts:
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
2015-07-25 17:02:49 +03:00
Rob Austin 8377d7d23b focusing on using autoClose
Conflicts:
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
2015-07-25 16:51:51 +03:00
Rob Austin 30489ebf85 removed unnessasary persistant file
Conflicts:
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
2015-07-25 16:50:24 +03:00
Rob Austin ceb88d0302 removed unnessasary persistant file 2015-07-25 16:46:14 +03:00
Rob Austin d9be91d106 focusing on using autoClose
Conflicts:
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
	src/test/java/net/openhft/chronicle/map/LargeEntriesTest.java
2015-07-25 16:45:02 +03:00
Rob Austin e1b1ca237f removing the ecm-chm-test files 2015-07-25 16:33:32 +03:00
Rob Austin fa787d150b updated to AutoClose
Conflicts:
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
2015-07-25 16:31:42 +03:00
leventov 910dcfbd75 Remove @NotNull from parameters in VanillaChronicleMap, to avoid 'unfair' test fail in IntelliJ 2015-07-25 16:16:51 +03:00
Rob Austin abebd13414 ignore java.util.concurrent.RejectedExecutionException when already closed 2015-07-25 16:04:29 +03:00
Rob Austin c7ef524031 ignore java.util.concurrent.RejectedExecutionException when already closed 2015-07-25 16:04:14 +03:00
Rob Austin 5606e7d264 ignore java.util.concurrent.RejectedExecutionException when already closed 2015-07-25 16:03:50 +03:00
Rob Austin 800a77e52e introduced connectExecutorService to ensure that its closed on shutdown 2015-07-25 16:03:14 +03:00
Rob Austin b9302248a2 now not closing on a - AsynchronousCloseException e 2015-07-25 16:02:49 +03:00
Rob Austin c68a0ea644 removed throws InterruptedException
Conflicts:
	src/main/java/net/openhft/chronicle/map/AbstractChannelReplicator.java
2015-07-25 15:59:59 +03:00
Rob Austin d8d800d614 moved shutdownNow only to the main thread
Conflicts:
	src/main/java/net/openhft/chronicle/map/AbstractChannelReplicator.java
2015-07-25 15:59:16 +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
Rob Austin 6a0fb52735 ensures the files names are unique 2015-07-25 15:49:13 +03:00
Rob Austin 855c3bfcb6 added @Ignore 2015-07-25 15:40:32 +03:00
Rob Austin 150ce83f96 removed unwanted tests
Conflicts:
	src/test/java/eg/BGChronicleTest.java
2015-07-25 15:34:53 +03:00
Rob Austin c2f4e0b240 added eg.OffHeapByteArrayExampleTest 2015-07-25 15:29:56 +03:00
Rob Austin d63c8c9811 added eg.OffHeapByteArrayExampleTest 2015-07-25 15:27:15 +03:00
leventov 3228f3e59b Add javadocs to SegmentContexts 2015-07-25 15:16:13 +03:00
leventov 340ab09409 Moved DefaultValueProvider to the new Contexts API; removed defaultValue() SPI from MapEntryOperations (essentially replaced by DefaultValueProvider); Removed the old contexts, KeyContext and MapKeyContext completely 2015-07-24 21:36:55 +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 5b23bd6f45 README formatting 2015-07-23 21:58:55 +03:00
leventov 6580017b9c Lock ordering made right 2015-07-23 21:55:49 +03:00
leventov 6e269323f8 Make nested contexts acquisition ordered 2015-07-23 00:45:25 +03:00
leventov d5d5c2e48e HCOLL-353 Implement nested contexts 2015-07-23 00:09:42 +03:00
leventov 2df3c02750 Fixed a bug in doReplaceValue() 2015-07-22 22:52:41 +03:00
leventov 00ad3068ee Renamed wrapValueAsValue() to wrapValueAsData after Value -> Data rename 2015-07-22 20:46:50 +03:00
leventov fb5f3cf2e1 HCOLL-349 HCOLL-350 stage compilation via annotation processing 2015-07-17 04:25:33 +03:00
leventov 0ae1565a1a Ignore another testSoakWithRandomData 2015-07-02 18:27:33 +03:00
leventov 457e0cd583 Ignore soakTestWithRandomData 2015-07-02 18:19:29 +03:00
leventov da0f51d697 Different ports for CRDT test 2015-07-02 16:33:58 +03:00
leventov 0f82776942 Added ComplextSerializationTest #29 2015-07-01 22:13:26 +03:00