Commit Graph
39 Commits
Author SHA1 Message Date
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 59add5e42f HCOLL-263 assume direct off-heap impls only used if fails to generate generic off-heap/on-heap readers/writers 2014-12-21 21:47:07 +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
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 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 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 13e9610a73 Add tests for larger entries 2014-12-08 16:17:27 +00:00
leventov 406569be30 Extended the list of known immutable JDK classes 2014-12-06 00:23:17 +07: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
Peter Lawrey adae564595 Remove blank lines before } 2014-11-30 22:46:22 +02:00
Rob Austin 7210dd40f2 HCOLL-134 added test to serialize the builders 2014-11-17 14:21:59 +00:00
leventov 356b4e7eef HCOLL-201 implemented LongValue special case marshallers 2014-11-12 15:11:55 +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
leventov f96d369cdd HCOLL-136 HCOLL-137 Improved BytesReader, BytesWriter and BytesInterop docs [dc] 2014-11-07 14:16:31 +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
leventov f7edfce81b HCOLL-159 moved net.openhft.chronicle.hash.threadlocal package to Lang since it isn't specific to ChronicleMap at all 2014-10-29 16:11:21 +03: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 ea779997cf Remove <p/> from copyright messages 2014-10-24 11:30:25 +01:00
Rob Austin 3e3689be39 HCOLL-167 moved serilization and exceptions to common 2014-10-20 18:19:15 +01:00
leventov 6d07ccea5e Added CharArrayMarshaller 2014-10-20 09:19:45 +04:00
leventov c404c5cb75 Build fix 2014-10-19 21:51:21 +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
leventov b5b3d2f059 Fixed compilation issue in SerializationBuilder 2014-10-14 14:06:41 +04:00
Rob Austin 1014834668 HCOLL-163 kept the use of tcp() and udp() internal 2014-10-14 10:41:36 +01: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
leventov cc12bba67a Implemented AgileBytesMarshaller for Integer 2014-10-12 16:54:08 +04:00
leventov 573b91464a Implemented AgileBytesMarshaller for Double 2014-10-12 16:52:35 +04:00
Rob Austin 3630cfe555 HCOLL-164 added a void marshaller and Map replication test using VOID value 2014-10-10 13:10:29 +01:00
leventov c98bd1d5bc Added ChronicleMapBuilder.constantKey[Value]SizeBySample() methods 2014-10-07 05:27:28 +04:00
leventov fdd5988d6f Made keys immutability configurable 2014-10-07 01:25:09 +04:00
leventov 7d1e4dd2df HCOLL-156 changed default value object factory from AllocateInstanceObjectFactory to NewInstanceObjectFactory 2014-10-07 00:52:26 +04:00
leventov bd642b995f Abstract classes and interfaces always use the most conservative serializer. Fixed a bug with different objectSerializers during read and write (introduced in 38cda58032) 2014-10-03 06:42:02 +04:00
leventov 38cda58032 HCOLL-85 HCOLL-142 JLANG-29 Featured serializers 2014-09-24 22:12:39 +04:00