Commit Graph
41 Commits
Author SHA1 Message Date
leventov fb9a1e80ec HCOLL-384 protect from double close() 2015-09-10 16:47:30 +03:00
leventov 8d25dd3454 HCOLL-384 fix the previous commit 2015-09-10 16:25:59 +03:00
leventov c801e95a64 HCOLL-384 optimize ChronicleChannels management. Partially rollbacks 6037bd27e4 2015-09-10 16:14:09 +03:00
Peter Lawrey a397180cf0 POC Tuning 2015-07-25 23:27:56 +03:00
leventov e7a8a11505 OHFT-58 Change license to LGPLv3 to protect redistribution 2015-07-25 23:12:23 +03:00
Rob Austin fcd872c643 HCOLL-329 fixing the bootstrapping timestamp issue
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
	src/main/java/net/openhft/chronicle/map/SharedSegment.java
	src/main/java/net/openhft/chronicle/map/TcpReplicator.java
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
2015-07-25 22:33:24 +03:00
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
leventov f0c9413a53 lockInterruptibly() 2015-07-01 14:05:56 +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 b4c8554b77 SPI implementation 2015-05-27 00:03:20 +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
Rob Austin 8cfa117537 reintegrated my changes back into chronicle map ( manually ) as the merge caused issues and was rolled back, these changes also are less ambitious and as such are not so risky 2015-03-12 19:13:11 +00:00
leventov 5fe9e686d2 Moved name() from TcpTransportAndNetworkConfig to AbstractReplication 2015-02-03 22:37:41 +07:00
leventov b395770956 Updated Java-Lang version 2015-01-28 14:26:35 +07:00
leventov d897891bfb Great refactoring 2015-01-17 03:19:35 +07:00
Rob Austin e003068792 HCOLL-197 removed entry size from the repliaction hub 2014-12-23 09:44:59 +00:00
Rob Austin 8d44587c7c HCOLL-197 - improved buffer resizing 2014-12-20 13:27:59 +00:00
Rob Austin a47f177710 HCOLL-197 - added better support for buffer resize to prevent issues around Integer.MAX_SIZE 2014-12-19 12:21:55 +00:00
Rob Austin 005f4d7a7e HCOLL-246 Fixed - Tcp Replication fails with large values or entries sizes that don't included internal replication bytes" 2014-12-16 15:28:52 +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 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
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 bf65306246 HCOLL-134 returned the remoteIdentifier back to a BYTE and improved the MapByName 2014-11-20 12:18:07 +00:00
Rob Austin c9cf962617 HCOLL-134 added some logging 2014-11-18 19:54:54 +00:00
Rob Austin 266da0be31 HCOLL-134 added the following method - bootstapOnlyLocalEntries(boolean bootstapOnlyLocalEntries) 2014-11-18 18:40:01 +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
leventov 780a6ae2ee InstanceConfig should be used at most once 2014-11-10 16:14:17 +03: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
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 70fdbb1fc6 HCOLL-167 moved classes to hash as they are used for set as well. 2014-10-29 12:59:18 +00:00
Rob Austin f647f91b69 HCOLL-167 added support to delegate stateless client method calls to VChronicleMap 2014-10-28 21:29:34 +00:00
leventov 0c45ee8aff HCOLL-136 HCOLL-137 HCOLL-153 HCOLL-160
1. Separated ChronicleMapBuilder (for non-Byteable values) and
OffHeapUpdatableChronicleMapBuilder (for Byteable values) with common base
AbstractChronicleMapBuilder (public just to inherit common javadocs)

2. Added ChronicleHashBuilder.keyDeserializationFactory() and
AbstractChronicleMapBuilder.valueDeserializationFactory() (former
ChronicleMapBuilder.valueFactory() method)

3. Changed ChronicleMap.get(), getUsing() API and impl to what was
initially intended - now they ALWAYS returns null, if key is absent

4. acquireUsing() API, common for the cases with Byteable and non-Byteable
values: puts defaultValue or defaultValueProvider.get(key), if the key is
absent, then acquireUsing() behaves just like getUsing()

5. For off0heap updatable ChronicleMaps (Byteable values), added
prepareValueBytes() configuration which formalizes zeroing out value bytes

6. Javadoc fixes and improvements
2014-10-27 20:15:26 +03:00
Peter Lawrey 9ace610ca5 Fixed Javadoc errors for Java 8 2014-10-24 11:48:51 +01:00
Peter Lawrey ea779997cf Remove <p/> from copyright messages 2014-10-24 11:30:25 +01:00
Rob Austin e6868ea233 HCOLL-167 first working draft of StatelessServerConnector 2014-10-16 20:45:05 +01:00
Rob Austin 2aff512767 HCOLL-163 renamed channel replicator to channel provider 2014-10-13 19:03:43 +01:00