Commit Graph
20 Commits
Author SHA1 Message Date
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