Commit Graph
65 Commits
Author SHA1 Message Date
Rob Austin e772737f36 HCOLL-81 renamed ChronicleMap to ChronicleMapOnHeapUpdatableBuilder as Peter wanted the OffHeapUpdated Builder to be the default ChronicleMapBuilder. 2014-11-14 12:59:03 +00:00
leventov 553ccbc10e Minor Javadoc fixes 2014-11-08 09:35:05 +03:00
leventov 49172e4b3b HCOLL-136 added keyMarshallers(), keySizeMarshaller() and valueSizeMarshaller() methods to Builder interfaces; removed factory field from SerializationBuilder and VanillaChronicleMap as unused 2014-11-07 16:15:37 +03:00
leventov fddacd1243 Removed AgileBytesMarshaller 2014-11-07 14:32:30 +03:00
Rob Austin 9dec1ed4db reverted cff7c5bea8 2014-11-04 14:44:59 +00:00
Rob Austin a0c89935f5 reverted cff7c5bea8 2014-11-04 14:29:06 +00:00
Peter Lawrey 245908baad Add a perf test for acquireUsingLocked. 2014-11-02 23:09:21 +00:00
Peter Lawrey 9a6af6a6fb Select OF_4_BYTES for Byteable values. (possibly OF_8_BYTES in the future) 2014-11-01 09:26:38 +00:00
Rob Austin 2f73cf1f39 renamed common to hash 2014-10-29 12:11:24 +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 412f9def7e Re-tune entry sizes for segments. 2014-10-27 11:24:15 +00:00
leventov ffd66c3f52 Improved estimateSegments() heuristic and fix tests 2014-10-25 01:58:05 +04:00
leventov 061fc5b53b HCOLL-172 Verified thath IntIntMultiMap now supports up to 2^32 entries; ShortShortMultiMap up to 2^16; ChronicleMap.Segment are now long-sized; attempt to support non-power-of-2 number of segments by HashSplitting (not tested yet); improved logic and dependencies between actualSegments(), actualEntriesPerSegments() and minSegments() methods in ChronicleMapBuilder; minor fixes 2014-10-25 00:45:59 +04: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 59da12448e Merge remote-tracking branch 'origin/master' 2014-10-24 11:20:34 +01:00
Rob Austin f9f976acb5 HCOLL-167 added an equals() method, and improved buffer overflow, but its still not working correctly yet... 2014-10-24 11:19:13 +01:00
Peter Lawrey 3a3c634a19 Tuning headroom for larger Maps. 2014-10-23 22:18:45 +01:00
Peter Lawrey 9a8a2512f0 Tweek the sizing rules as well as optimise the hashing algo so it creates a more even distribution (for at least one set of test cases) 2014-10-23 21:20:46 +01:00
Rob Austin 60b23535d1 HCOLL-167 added support for putAll() 2014-10-23 14:52:38 +01:00
Peter Lawrey 00287a3bec Fix overflow bug for large numbers. 2014-10-21 19:52:26 +04:00
Rob Austin 3e3689be39 HCOLL-167 moved serilization and exceptions to common 2014-10-20 18:19:15 +01:00
Rob Austin 8805c12051 HCOLL-167 added readme info for #### Stateless Client, and moved code to common. 2014-10-20 18:17:37 +01:00
Rob Austin c680344be3 HCOLL-167 renamed to StatelessChronicleMap 2014-10-20 17:36:05 +01:00
Rob Austin 8e57eeafc2 HCOLL-167 simplified the map builder by making "file" very much an option parameter, is it not REQUIRED for all types of maps. Also updated the many of the TCP replication test to remove the user of file() as its simply not required for this in many cases. 2014-10-20 17:19:27 +01:00
Rob Austin 1b40eb8147 HCOLL-167 now using the builder to create the Stateless client 2014-10-20 16:30:08 +01:00
Rob Austin c047e59d56 HCOLL-167 added isStateless 2014-10-20 15:02:05 +01:00
leventov 8f3452e974 HCOLL-136 HCOLL-137 javadoc updates and added ChronicleHashBuilder.disableReplication() method 2014-10-19 23:18:50 +04:00
leventov d11e02d48f Moved seriaization and threadlocal packages up: n.o.chronicle.map -> n.o.chronicle 2014-10-19 21:13:13 +04:00
Peter Lawrey f3d501de38 Merge remote-tracking branch 'origin/master' 2014-10-17 09:15:37 +01:00
Peter Lawrey adfec1b613 Give more conservative head room for avoid Map's with an imperfect hash distribution filling up. 2014-10-17 09:12:25 +01:00
Rob Austin e6868ea233 HCOLL-167 first working draft of StatelessServerConnector 2014-10-16 20:45:05 +01:00
Rob Austin 0240485c91 HCOLL-167 Created a stateless map - added tests 2014-10-15 13:53:16 +01:00
Rob Austin d5f88842df HCOLL-163 corrected bad naming of Udp and TCP ReplicationConfig 2014-10-14 10:46:38 +01:00
Rob Austin 1014834668 HCOLL-163 kept the use of tcp() and udp() internal 2014-10-14 10:41:36 +01:00
leventov 1af8eb608d Merge branch 'master' of github.com:OpenHFT/Chronicle-Map
Conflicts:
	src/main/java/net/openhft/chronicle/set/ChronicleSetBuilder.java
2014-10-14 00:37:04 +04:00
leventov 8ae20aa6cc HCOLL-164 Made ChronicleSet zero overhead by value; fixed ChronicleSet.add() and remove() implementations; added ChronicleMapBuilder.valueMarshallerAndFactory(AgileBytesMarshaller, ObjectFactory) method 2014-10-14 00:30:43 +04:00
Rob Austin 2aff512767 HCOLL-163 renamed channel replicator to channel provider 2014-10-13 19:03:43 +01:00
Rob Austin 200322d268 HCOLL-163 renamed chronicle custer to chronicle channel 2014-10-13 18:23:24 +01:00
Rob Austin d01b5d8c59 HCOLL-163 renamed chronicle custer to chronicle channel 2014-10-13 18:04:38 +01:00
Rob Austin 30a1abef06 HCOLL-163 fixed some merge issues. 2014-10-13 17:59:54 +01:00
Rob Austin 9d8e84824c Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/java/net/openhft/chronicle/map/ChronicleMapBuilder.java
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
2014-10-13 17:19:45 +01:00
Rob Austin 77cb5be05c HCOLL-163 Initial checking of - ( Move the identifier configuration from TCP/UDP Replication, back to the builder.), more on this JIRA coming soon... 2014-10-13 17:11:47 +01:00
leventov 6c02947ffb HCOLL-164 Exctracted ChronicleHashBuilder interface and pulled some classes up from n.o.chronicle.map package to n.o.chronicle. Fixed ChronicleSetBuilder.equals() implementation. 2014-10-13 18:13:31 +04:00
leventov 1a0ecc621c HCOLL-136 HCOLL-137 Improved Alignment and ChronicleMapBuilder javadocs 2014-10-13 18:13:31 +04:00
leventov 6a41086454 Removed getters from ChronicleMapBuilder API, improved some Javadocs and ChronicleMapBuilder.toString() representation 2014-10-12 16:07:43 +04:00
leventov 93b81569f0 Removed unused replicas() configuration 2014-10-12 13:47:12 +04:00
leventov 8ecbc3a091 Removed unused transactional() configuration 2014-10-12 13:46:15 +04:00
leventov 4913062481 HCOLL-161 eliminated inconsistency between VanillaChronicleMap and DirectBytesBuffer serializers 2014-10-07 20:11:39 +04:00
leventov c98bd1d5bc Added ChronicleMapBuilder.constantKey[Value]SizeBySample() methods 2014-10-07 05:27:28 +04:00