Commit Graph
72 Commits
Author SHA1 Message Date
leventov e39dfc394c Add ChronicleHashBuilder.averageKey() and ChronicleMapBuilder.averageValue() methods 2015-07-29 01:21:21 +03:00
leventov e7a8a11505 OHFT-58 Change license to LGPLv3 to protect redistribution 2015-07-25 23:12:23 +03:00
leventov 3228f3e59b Add javadocs to SegmentContexts 2015-07-25 15:16:13 +03:00
leventov 340ab09409 Moved DefaultValueProvider to the new Contexts API; removed defaultValue() SPI from MapEntryOperations (essentially replaced by DefaultValueProvider); Removed the old contexts, KeyContext and MapKeyContext completely 2015-07-24 21:36:55 +03:00
leventov 9fe1dab477 HCOLL-352 Changed garbage-free Chronicle-Map iterations API from old to new Contexts; Add SegmentContexts API 2015-07-24 20:11:58 +03:00
leventov 912a3cc2fc Removed ChronicleHash.context() method and changed acquireContext() return type from deprecated MapKeyContext to Closeable 2015-07-24 03:43:50 +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 1d7f54635a HCOLL-318 added many documentation and examples; Empowerted ReplicableEntry interface, and changed Map/SetRemoteOperations contracts to allow implementing more agile reconciliation strategies 2015-06-20 05:43:34 +03:00
leventov bf20bc98c3 Fixed several replication bugs; Value -> Data; extracted ReplicableEntry as a superclass of HashReplicableEntry 2015-06-15 21:34:45 +03:00
leventov f1da352a5d Made listeners almost work for replication 2015-06-02 19:02:55 +01:00
leventov 4fb73bb821 Improved documentation 2015-05-27 04:30:58 +01:00
leventov b4c8554b77 SPI implementation 2015-05-27 00:03:20 +01:00
Rob Austin 3010c57058 HCOLL-328 - Possible issue with ChronicleSet on restart 2015-05-07 20:26:14 +01:00
Rob Austin e43765cf44 fixed some java doc issues with where cause the javadoc build to fail 2015-03-13 16:15:23 +00: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 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 06b326ab05 Implemented forEachEntry() and forEachEntryWhile() 2015-01-20 01:00:38 +07:00
leventov d897891bfb Great refactoring 2015-01-17 03:19:35 +07:00
Peter Lawrey 8a4ad9ade2 Use ChronicleMapBuilder to build all ChronicleMap 2015-01-15 17:35:44 +00:00
leventov 96a0b57c66 HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>
Builder, removed addJsonConverter method from ChronicleMapBuilder
2015-01-02 00:36:30 +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 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 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 03f3f58b91 imporved javadoc 2014-12-01 12:10:42 +00:00
Peter Lawrey 6d4b143903 Remove double and triple blank lines 2014-11-30 22:43:32 +02:00
Rob Austin 84a9581c7f HCOLL-218 ReplicatedChronicleMapTest appears to use too much resources - I've looked at other tests as well and have attempted to ensure that close is called on every test, also prompting the GC to run after each test. 2014-11-26 16:24:57 +00:00
Rob Austin bf65306246 HCOLL-134 returned the remoteIdentifier back to a BYTE and improved the MapByName 2014-11-20 12:18:07 +00:00
Peter Lawrey a74596e32e Javadoc fixes 2014-11-15 16:54:44 +00:00
Peter Lawrey 37914654bc Merge remote-tracking branch 'origin/master' 2014-11-15 10:40:42 +00:00
Peter Lawrey 524834f1c2 create() and close() to not throw an IOException. 2014-11-15 10:40:09 +00:00
Rob Austin 49fc123755 HCOLL-81 made publicly a single ChronicleMapBuilder, that delegates onto internal implementations 2014-11-15 09:05:26 +00:00
Rob Austin e772737f36 HCOLL-81 renamed ChronicleMap to ChronicleMapOnHeapUpdatableBuilder as Peter wanted the OffHeapUpdated Builder to be the default ChronicleMapBuilder. 2014-11-14 12:59:03 +00:00
Rob Austin 6816810b90 HCOLL-200 fixed - testBootstrapAndHeartbeat 2014-11-11 16:46:32 +00:00
leventov 780a6ae2ee InstanceConfig should be used at most once 2014-11-10 16:14:17 +03:00
leventov c0d9099da9 Some renames in replication API, fixed potential issue with networkInterface configuration for udp multicast 2014-11-08 05:26:10 +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
leventov 4c86dae04f Made TcpConfig back immutable; Draw the borderline: Builders are mutable, Configs are immutable (hence ChronicleHashInstanceBuilder and StatelessClientBuilder renamed to Configs; improved TcpConfig static factory naming 2014-11-07 12:24:52 +03:00
leventov 4a51b129a3 Many renames, API refactorings, classes/interfaces made private to net.openhft.chronicle.map package
Conflicts:
	src/main/java/net/openhft/chronicle/map/StatelessChronicleMap.java
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
2014-11-07 12:10:40 +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 20af7f5704 HCOLL-175 fix compilation issue (should be a part of the prev commit) 2014-10-29 16:26:02 +03:00
Rob Austin 70fdbb1fc6 HCOLL-167 moved classes to hash as they are used for set as well. 2014-10-29 12:59:18 +00: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
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 ea779997cf Remove <p/> from copyright messages 2014-10-24 11:30:25 +01:00