Commit Graph
889 Commits
Author SHA1 Message Date
Rob Austin e3fc5c9aa8 added in a fix for net.openhft.chronicle.map.ReplicateProxyMapUpdatedViaSharedMemoryTest.testReplicateProxyMapUpdatedViaSharedMemory
Conflicts:
	src/main/java/net/openhft/chronicle/map/ChannelProvider.java
	src/main/java/net/openhft/chronicle/map/Replica.java
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
2015-07-25 19:00:44 +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 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
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 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
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
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 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 3ae268e5e9 Revert AbstractChannelReplicator logic change 2015-07-01 16:31:36 +03:00
leventov f0c9413a53 lockInterruptibly() 2015-07-01 14:05:56 +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 f003f13ba3 Fix compilation 2015-06-20 07:21:01 +03:00
leventov 1d7f54635a HCOLL-318 added many documentation and examples; Empowerted ReplicableEntry interface, and changed Map/SetRemoteOperations contracts to allow implementing more agile reconciliation strategies 2015-06-20 05:43:34 +03:00
leventov 9746084998 Start setting lastModifiedTime and fixed bootstrapping; clarified some test @Ignores 2015-06-16 16:22:32 +03:00
leventov 65f94178fa Fix compilation issues 2015-06-15 22:08:23 +03:00
leventov 4608b71a5d Fix compilation issues 2015-06-15 22:05:54 +03:00
leventov 0c73a072eb Fix compilation issues 2015-06-15 22:00:06 +03:00
leventov 413f016898 Merge branch 'listeners' of https://github.com/OpenHFT/Chronicle-Map into listeners
Conflicts:
	src/main/java/net/openhft/chronicle/map/FilePerKeyChronicleMap.java
	src/main/java/net/openhft/chronicle/map/impl/CompiledReplicatedMapQueryContext.java
2015-06-15 21:40:55 +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
danielshaya fda7e1cd38 Move Engine from Map 3 to Map 2 2015-06-03 17:18:22 +01:00
danielshaya 4540513766 Commented out line to make it compile. 2015-06-03 13:06:04 +01:00
danielshaya 9c8a9067df Last compiling version. 2015-06-03 10:40:13 +01:00
danielshaya 8fa83d42c9 Removed FilePerKeyMap (now only in Engine) 2015-06-02 21:42:09 +01:00
Rob Austin dfb7aa3efc Merge remote-tracking branch 'origin/listeners' into listeners 2015-06-02 19:05:55 +01:00
Rob Austin b73f2b6058 fixed typo 2015-06-02 19:04:59 +01:00
leventov f1da352a5d Made listeners almost work for replication 2015-06-02 19:02:55 +01:00
danielshaya a26a2682b2 HCOLL-301 Refactor the windows warning. 2015-06-02 18:23:30 +01:00
Rob Austin d3bf08cf58 updated dependencies and fixed code accordingly 2015-06-02 09:33:38 +01:00
leventov 02fd928d25 Improved locking documentation 2015-05-29 03:26:29 +01:00
leventov 0fe747f688 Make BiMap implementation dually thread-safe and consistent 2015-05-27 16:27:32 +01:00
leventov 4d99bd908e Fixed compilation issues 2015-05-27 11:57:13 +01:00