Commit Graph
29 Commits
Author SHA1 Message Date
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 3cf9b2e722 Employ MemoryUnit API 2014-10-28 06:44:38 +03:00
leventov 16f1e6aa46 Moved Replicator and Replicators to separate files for more convenient Intellij browsing 2014-10-28 04:12:36 +03: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 a956ac2a0e Enhanced thread safety tests with the latest lang release 2014-10-27 15:59:22 +00: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
Peter Lawrey c44aae129f Support read/write locking. 2014-10-24 11:23:15 +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 113c51566a HCOLL-167 added testBufferOverFlowPutAll 2014-10-23 16:01:28 +01: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 221ae2c47c HCOLL-167 tightened visibility 2014-10-20 17:43:42 +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 023d12a6d0 HCOLL-167 when running the profile I found that we were not closing every connection, so no being super fussy about adding everything to closable. 2014-10-20 13:02:42 +01:00
leventov d11e02d48f Moved seriaization and threadlocal packages up: n.o.chronicle.map -> n.o.chronicle 2014-10-19 21:13:13 +04:00
Rob Austin 30a1abef06 HCOLL-163 fixed some merge issues. 2014-10-13 17:59:54 +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
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 b6f56cf4d9 HCOLL-138 HCOLL-139 added ChronicleMapBuilder.keySize(), valueSize() configurations and reasonable entrySize() estimation if not specified 2014-10-05 06:06:54 +04:00
leventov d35be141c2 Fixed a bug in ReplicatedChronicleMap.wasRemoved() method 2014-10-05 06:06:52 +04:00
leventov fa8d857ab6 HCOLL-147 factored ChronicleMap 'default-valuing' configuration from MapEventListener 2014-10-03 07:14:08 +04:00
leventov 38cda58032 HCOLL-85 HCOLL-142 JLANG-29 Featured serializers 2014-09-24 22:12:39 +04:00
leventov 6d17ce29d2 Fixed a bug in ReplicatedChronicleMap.value() 2014-09-23 02:41:21 +04:00
leventov e3a16746a5 Don't call MapEventListener.onPut() from within ChronicleMap.acquireUsing(key, null) invocation, key is absent in the map instance, i. e. the new value was obtained via valueFactory.create() 2014-09-19 09:42:46 +04:00
Rob Austin d0c33d0b08 HCOLL-132 changed the code to use @net.openhft.lang.model.constraints.NotNull 2014-09-12 16:00:10 +01:00
leventov ea16356d46 New Chronicle-Map 2014-09-05 17:39:51 +04:00