Commit Graph
57 Commits
Author SHA1 Message Date
leventov 4a9e2c1095 Fix bugs with key/value average/constant size computation in ChronicleMapBuilder 2015-08-02 01:24:04 +03:00
leventov e39dfc394c Add ChronicleHashBuilder.averageKey() and ChronicleMapBuilder.averageValue() methods 2015-07-29 01:21:21 +03:00
Peter Lawrey 7ca658291a CHENT-52 Fixes to support Enterprise Journal 2015-07-25 23:26:16 +03:00
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
Peter Lawrey b80cac2a1f Ensure the SerializationBuilder passes through the expected class.
Conflicts:
	pom.xml
2015-07-25 22:48:29 +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
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 b4c8554b77 SPI implementation 2015-05-27 00:03:20 +01:00
Peter Lawrey f487bc4eca Performance tune for mit. 2015-05-14 12:18:47 +01:00
leventov 9580010d61 Fixed bug in ByteBufferMarshaller 2015-02-13 13:29:55 +07: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 289179a08d Defensive checks in SizeMarshallers and possible bugs with marshalling 0, however it could be not supported 2015-02-09 06:24:26 +07:00
leventov 2d778a5042 Reduced max reasonable serialized size 2015-02-06 00:35:00 +07:00
Peter Lawrey 7200035cd9 Using heapSizeOrderedFieldsGrouped instead of heapSizeOrderedFields 2015-02-03 16:00:25 +00:00
leventov b395770956 Updated Java-Lang version 2015-01-28 14:26:35 +07:00
leventov 68697831b8 Moved to CityHash (proven to be faster); Made Hashing and BytesInterop API more cohrent; removed Void marshalling because values should never be null 2015-01-26 13:21:27 +07:00
leventov 3842755c67 Returned VanillaContext entry indirection in order to make patterns like map.getUsing(key, byteableValue) working 2015-01-25 08:55:52 +07:00
leventov d897891bfb Great refactoring 2015-01-17 03:19:35 +07:00
leventov 0d14d7fc78 HCOLL-284 better assert-independent bounds checking 2014-12-31 06:46:22 +07:00
leventov c9224cd690 HCOLL-284 resize the copying buffer before serialization 2014-12-31 04:04:47 +07:00
leventov dd969a495c HCOLL-244 Fixed a bug with pseudo-put or remotely replicated entry 2014-12-30 08:34:13 +07:00
leventov 3236236324 Optimized imports 2014-12-27 17:50:22 +07:00
leventov cf5ae63e84 Optimized generalized data value generation ser/deser, when Byteable (i. e. direct impl) is given 2014-12-27 17:50:21 +07:00
leventov 81f6142af7 Clearly separated notion of entries and chunks, averageKeySize()/ValueSize() instead of keySize()/valueSize(), minor fixes and refactorings 2014-12-26 05:22:54 +07:00
leventov 0ff794d6a6 Non-replicated Chronicle Map now is not limited with x64 max oversize factor 2014-12-19 16:09:49 +07:00
Peter Lawrey 8d63990881 JLANG-42 Remove unchecked warnings in generated code. 2014-12-16 17:40:01 +00:00
leventov d196d01fda HCOLL-256 Fixed a bug in CharArrayMarshaller and made some other marshallers more robust 2014-12-16 20:41:46 +07:00
leventov b2ad8f6acb HCOLL-248 changed default behaviour again 2014-12-16 13:20:38 +07:00
leventov d8df6d5717 HCOLL-248 changed the ChronicleMap code and defaults regarding CharSequences/StringBuilders to fit CHMUseCases 2014-12-16 12:40:21 +07:00
leventov 4c0daf1169 JLANG-39 fixed bug in DataValueBytesMarshallers -- should zero out possible gaps in CharSequence fields, because if there is garbage in them, it could affect hashing results 2014-12-13 21:13:00 +07:00
leventov c935c4b05f HCOLL-171 HCOLL-206 HCOLL-247 improved hashing algorithm (now murmur3), implemented ByteBufferInterop, some improvements in existing marshallers 2014-12-13 15:25:00 +07:00
leventov 94249b1269 Fixed bugs in IntegerMarshaller, LongMarshaller and DoubleMarshaller 2014-12-13 15:24:59 +07: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
Rob Austin 41b4acee45 HCOLL-234 fixing CHMUseCaseTest 2014-12-09 18:52:07 +00:00
Peter Lawrey 13e9610a73 Add tests for larger entries 2014-12-08 16:17:27 +00:00
leventov f8cb1d49d9 JLANG-39 implemented universal readers/writers for classes eligible for dataValue generation, test of the simplier case 2014-12-06 00:09:50 +07:00
leventov f0bb095d65 HCOLL-222 clarified error message if trying to put the unitialized byteable key/value, that might be quite common mistake 2014-12-01 23:21:58 +07: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
Peter Lawrey ccf42248a1 HCOLL-217 Add Deflator compression for JDK Serialized values. 2014-11-26 08:01:34 +02:00
leventov 356b4e7eef HCOLL-201 implemented LongValue special case marshallers 2014-11-12 15:11:55 +03:00
Peter Lawrey c90f424e3f HCOLL-198 Add a long -> long test. 2014-11-11 00:32:06 +00:00
Peter Lawrey b612bc5678 HCOLL-194 Code tidy. 2014-11-09 14:01:22 +00:00
leventov 09008f16fe Moved more classes from net.openhft.chronicle.hash.serialization to .internal 2014-11-07 14:40:11 +03:00
leventov fddacd1243 Removed AgileBytesMarshaller 2014-11-07 14:32:30 +03:00
leventov f96d369cdd HCOLL-136 HCOLL-137 Improved BytesReader, BytesWriter and BytesInterop docs [dc] 2014-11-07 14:16:31 +03:00