Commit Graph
100 Commits
Author SHA1 Message Date
leventov 852e503607 In serializers which use elastic Bytes, inherit Bytes' capacity on copy() to avoid unnecessary resizes in each copy 2016-11-20 19:36:00 -06:00
leventov 37d82f290a Review Exception throwing and handling throughtput the library, create specific InterProcessDeadLockException for Chronicle Map deadlocks 2016-11-19 19:14:53 -06:00
leventov 68c29c4c54 Use on-heap elastic bytes in DataAccess implementation in order not to pollute direct memery with small allocations, reallocations and associated Cleaners, when many ChronicleMaps are created in the JVM. Also, NativeBytes reallocation granularity is 4KB, that is too much for likely small keys and values. 2016-11-05 15:06:44 -06:00
leventov 54d481507b Remove unused field in SerializationBuilder 2016-08-05 23:31:36 +07:00
Peter Lawrey 0fb4eeefdc Update Chronicle Map to using bom 1.13.12 2016-07-31 17:00:08 +01:00
leventov 4bcdcdb8ce Update license information 2016-07-22 15:05:04 +07:00
leventov 4cffff652f Update to newer Core, Bytes & Wire dependency versions; make all enum marshallers ordinary classes with static INSTANCE fields, because of difficulties with Wire serialization of enums 2016-06-24 17:49:34 +07:00
Peter Lawrey 8ef1f1e647 Use updated BytesMarshallable with default implementations 2016-04-22 15:30:35 +01:00
leventov 6baf11b5c4 Forbid primitive types as key/value types for Chronicle Map early 2016-04-05 16:17:34 +01:00
leventov 739796b90d Improve documentation 2016-03-23 20:09:43 +07:00
leventov 0ec0eed5eb Add tutorial section about custom serialization, add custom serialization tests, improve Javadocs in net.openhft.chronicle.hash.serialization package 2016-03-19 16:47:26 +07:00
leventov e081cb87ba Update Chronicle-Values dependency and try to check if some interface is a valueInterface before attempting to generate implementations 2016-03-12 21:33:23 +07:00
leventov 27d781c08d Optimize BytesMarshallable default serialization and add a test for it 2016-03-10 17:17:22 +07:00
leventov ce97577767 Fix a bug in ByteBufferDataAccess 2016-03-05 18:39:16 +07:00
leventov 1886bc1677 Fix da48414 2016-03-05 18:34:22 +07:00
leventov da48414126 Optimize SizedMarshallableDataAccess to avoid double data copy when writing values 2016-03-05 17:32:07 +07:00
leventov e2587f1ec5 Fixes in IntegerDataAccess, LongDataAccess and DoubleDataAccess 2016-03-05 16:14:28 +07:00
leventov b98a67211c Optimize Integer, Long and Double default serializers 2016-03-04 22:44:26 +07:00
leventov 08e21547a8 Optimize CharSequence, StringBuilder and String Chronicle Map's key or value type serialization 2016-03-04 21:19:56 +07:00
leventov 7fa9d23cd0 Remove unused serialVersionUID field 2016-03-04 13:29:11 +07:00
leventov 28eeeb70e7 Remove the complexity and API-transparency of implementing and supporting built-in serializability for marshallers and core implementation classes, as this is replaced with Wire Marshallable 2016-01-14 16:07:22 +03:00
leventov 98be95a4a0 Fix a bug in ListMarshaller 2016-01-12 11:20:44 +03:00
leventov b168612d90 Add ListMarshaller and SetMarshaller factory methods 2016-01-11 15:22:42 +03:00
leventov c75965020e Add CharSequenceBytesReader and prohibit Readers and Writers of CharSequences and Strings to read and write nulls 2016-01-11 15:21:38 +03:00
leventov 75252c9fdf Simplify CharSequenceSizedReader 2016-01-11 15:19:15 +03:00
leventov 7a5c799a28 Remove throws IORuntimeException everywhere as redundant and deprecated 2015-12-11 16:23:45 +03:00
leventov 7c347aaec3 Make final some public API classes that are not intended for subclassing 2015-12-05 05:39:09 +03:00
leventov d4c01b3b64 Reduce visibility of ChannelProvider and OldDeletedEntriesCleanup classes, make AcceptanceDecision enum nested in DefaultEventualConsistencyStrategy, minor Javadoc fixes 2015-11-30 00:34:29 +03:00
leventov 0a4ccaf9d1 More eleborate ExternalizableDataAccess error message, when failed to call a public no-arg constructor 2015-11-27 15:25:50 +03:00
leventov 4fb7141a34 Add EnumMarshallable (this file should be added in commit fe77012) 2015-11-25 20:43:10 +03:00
leventov fe77012381 Read/Write ChronicleMap's boostrapping header with Wire 2015-11-25 20:37:19 +03:00
leventov 0398f7dfbf HCOLL-406 #58 Don't check size configurations of ChronicleMapBuilder, if existing file is accessed 2015-11-24 15:42:51 +03:00
leventov 61254caf8f Inner classes couldn't extend marshallers because cannot be Serializable 2015-11-23 19:08:36 +03:00
leventov beec07f9a9 Remove Xstream XML ChronicleMap header serialization (is going to be replaced with Wire serialization soon) 2015-11-23 18:43:17 +03:00
leventov 1dd2f3725f Add initTransients() call in StringSizedReader constructor 2015-11-23 14:35:20 +03:00
leventov bce834d2dc Correctly initialize transient fields in marshallers 2015-11-23 14:23:51 +03:00
leventov ade2196e72 Java-Lang -> Chronicle-Bytes, Chronicle-Values 2015-11-22 22:10:39 +03:00
leventov 6b7eb99144 Remove buggy optimization in DirectBytesBuffer #58 2015-11-17 15:00:01 +03:00
leventov 18151f4f34 Add BooleanMarshaller 2015-10-14 17:42:56 +03:00
leventov d9c771bedc Make key/value size discovery more defensive, inspired by #43 2015-09-21 19:08:45 +03:00
leventov 07a2bf3d76 Fix dead lock 2015-09-18 18:13:26 +03:00
leventov bc5c5c77b1 Simplify lazy class compilation with ConcurrentHashMap#computeIfAbsent() 2015-09-18 17:28:59 +03:00
leventov 20585cd9c8 Avoid compiling classes several times in DataValueBytesMarshallers 2015-09-18 02:12:43 +03:00
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