Peter Lawrey
f6ebed3c7c
Update lang to the latest version
2014-12-10 11:46:34 +00:00
Rob Austin
95b21ba2f8
HCOLL-234 fixing CHMUseCaseTest
2014-12-09 11:27:08 +00:00
Peter Lawrey
13e9610a73
Add tests for larger entries
2014-12-08 16:17:27 +00:00
Peter Lawrey
1e40c765f8
Remove blank lines at the start of methods and loops.
2014-11-30 22:48:57 +02:00
Peter Lawrey
adae564595
Remove blank lines before }
2014-11-30 22:46:22 +02:00
Peter Lawrey
6d4b143903
Remove double and triple blank lines
2014-11-30 22:43:32 +02:00
Peter Lawrey
50a337af0d
HCOLL-211 Add marshallers for List and Set.
2014-11-30 13:44:59 +02:00
leventov
40a3080ac9
HCOLL-185 refactored VanillaChronicleMap and ReplicatedChronicleMap; split BytesMapEventListener from MapEventListener; many bug fixes and optimizations; Stateless client queries without serialization/deserialization not working yet
2014-11-28 00:05:49 +07: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
a4cfcccca6
CHENT-8 Add a simple test to check put and remove work without the need for replication.
2014-11-18 21:25:37 +00:00
Peter Lawrey
7e24ae9106
Merge remote-tracking branch 'origin/master'
...
Conflicts:
src/main/java/net/openhft/chronicle/map/AbstractChronicleMapBuilder.java
2014-11-18 20:59:20 +00:00
Peter Lawrey
a3b149d8fb
CHENT-8 Add support for pushing changes to remote maps.
2014-11-18 20:57:55 +00:00
Rob Austin
266da0be31
HCOLL-134 added the following method - bootstapOnlyLocalEntries(boolean bootstapOnlyLocalEntries)
2014-11-18 18:40:01 +00:00
Rob Austin
121e149908
HCOLL-134 removed unwanted method
2014-11-18 11:37:17 +00:00
Rob Austin
a210c35263
HCOLL-134 checking in a alpha version of this code that works with the replication hub
2014-11-18 11:36:26 +00:00
Peter Lawrey
a76e1048f9
HCOLL-213 Update YCSB tests
2014-11-17 16:12:31 +00:00
Rob Austin
7210dd40f2
HCOLL-134 added test to serialize the builders
2014-11-17 14:21:59 +00:00
Peter Lawrey
b8ac1da4e1
Function works in java7 too.
2014-11-15 12:11:53 +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
leventov
553ccbc10e
Minor Javadoc fixes
2014-11-08 09:35:05 +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
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
Peter Lawrey
245908baad
Add a perf test for acquireUsingLocked.
2014-11-02 23:09:21 +00:00
Peter Lawrey
9a6af6a6fb
Select OF_4_BYTES for Byteable values. (possibly OF_8_BYTES in the future)
2014-11-01 09:26:38 +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
Peter Lawrey
412f9def7e
Re-tune entry sizes for segments.
2014-10-27 11:24:15 +00:00
leventov
ffd66c3f52
Improved estimateSegments() heuristic and fix tests
2014-10-25 01:58:05 +04: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
Rob Austin
59da12448e
Merge remote-tracking branch 'origin/master'
2014-10-24 11:20:34 +01:00
Rob Austin
f9f976acb5
HCOLL-167 added an equals() method, and improved buffer overflow, but its still not working correctly yet...
2014-10-24 11:19:13 +01:00
Peter Lawrey
3a3c634a19
Tuning headroom for larger Maps.
2014-10-23 22:18:45 +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
60b23535d1
HCOLL-167 added support for putAll()
2014-10-23 14:52:38 +01:00
Peter Lawrey
00287a3bec
Fix overflow bug for large numbers.
2014-10-21 19:52:26 +04: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
c680344be3
HCOLL-167 renamed to StatelessChronicleMap
2014-10-20 17:36:05 +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
Peter Lawrey
f3d501de38
Merge remote-tracking branch 'origin/master'
2014-10-17 09:15:37 +01:00
Peter Lawrey
adfec1b613
Give more conservative head room for avoid Map's with an imperfect hash distribution filling up.
2014-10-17 09:12:25 +01:00