Commit Graph
61 Commits
Author SHA1 Message Date
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
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 8e57eeafc2 HCOLL-167 simplified the map builder by making "file" very much an option parameter, is it not REQUIRED for all types of maps. Also updated the many of the TCP replication test to remove the user of file() as its simply not required for this in many cases. 2014-10-20 17:19:27 +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 c047e59d56 HCOLL-167 added isStateless 2014-10-20 15:02:05 +01:00
leventov 8f3452e974 HCOLL-136 HCOLL-137 javadoc updates and added ChronicleHashBuilder.disableReplication() method 2014-10-19 23:18:50 +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
Rob Austin 19574fd790 HCOLL-163 added public ChronicleSetBuilder<E> channel(ChannelProvider.ChronicleChannel chronicleChannel) { 2014-10-14 11:45:31 +01:00
leventov a5bf4f8448 HCOLL-136 HCOLL-137 HCOLL-164 Extracted ChronicleHash abstraction and updated ChronicleMap docs 2014-10-14 14:06:40 +04:00
Rob Austin d5f88842df HCOLL-163 corrected bad naming of Udp and TCP ReplicationConfig 2014-10-14 10:46:38 +01:00
Rob Austin 1014834668 HCOLL-163 kept the use of tcp() and udp() internal 2014-10-14 10:41:36 +01:00