Rob Austin
03236f31e5
HCOLL-167 more refactors statelss client
2014-10-27 19:11:28 +00:00
Rob Austin
bb7d815094
Merge remote-tracking branch 'origin/master'
2014-10-27 17:39:34 +00:00
Rob Austin
fcb80f5921
HCOLL-167 finally got chunking to work but it ugly - requires a bit of refactoring.
2014-10-27 17:38:58 +00:00
leventov
a20ccd97c0
HCOLL-160 fixes after the prev commit
2014-10-27 20:35:09 +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
Rob Austin
b374a9bd50
HCOLL-167 entrySet works for small chunks
2014-10-27 17:09:36 +00:00
Peter Lawrey
a956ac2a0e
Enhanced thread safety tests with the latest lang release
2014-10-27 15:59:22 +00:00
Rob Austin
dceb852092
HCOLL-167 works with a small number of entries, there is a bug if we have a large number of entries
2014-10-27 13:14:56 +00:00
Peter Lawrey
412f9def7e
Re-tune entry sizes for segments.
2014-10-27 11:24:15 +00:00
leventov
2dbd1f2e28
More test fixes
2014-10-25 02:13:47 +04:00
leventov
8a5dc333bc
More test fixes
2014-10-25 02:08:50 +04:00
leventov
ffd66c3f52
Improved estimateSegments() heuristic and fix tests
2014-10-25 01:58:05 +04:00
leventov
7a86306e0b
Yet another attempt to init freeList bitSet with the right length
2014-10-25 01:34:36 +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
055349a97c
Merge remote-tracking branch 'origin/master'
2014-10-24 17:24:13 +01:00
Peter Lawrey
4588c282b8
Performance tweaks.
2014-10-24 17:23:35 +01:00
Rob Austin
1404f9508c
Merge remote-tracking branch 'origin/master'
2014-10-24 14:54:54 +01:00
Rob Austin
cbe6253ca7
HCOLL-167 added support for larger entry sizes
2014-10-24 14:54:17 +01: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
113c51566a
HCOLL-167 added testBufferOverFlowPutAll
2014-10-23 16:01:28 +01:00
Rob Austin
2b050a9c3c
HCOLL-167 finally to the stateless map to support a lazy connect
2014-10-22 19:42:45 +01:00
Rob Austin
b7c10f6cb7
HCOLL-167 improving stateless map
2014-10-22 18:15:37 +01:00
Rob Austin
7b3b794be8
HCOLL-167 changed closeables to a LinkedHashSet<Closeable>();
2014-10-22 12:20:23 +01:00
Rob Austin
ea94303b27
HCOLL-167 removed test
2014-10-22 12:12:52 +01:00
Rob Austin
aa584543db
HCOLL-167 added test back in
2014-10-21 23:12:48 +01:00
Rob Austin
c709963f71
HCOLL-167 added test back in
2014-10-21 23:09:38 +01:00
Rob Austin
edb2804007
HCOLL-167 added test back in
2014-10-21 20:54:46 +01:00
Rob Austin
2218aaedb8
HCOLL-167 removed test
2014-10-21 20:52:13 +01:00
Rob Austin
83050bd9a2
HCOLL-167 removed the StatelessChronicleMapTest
2014-10-21 20:50:37 +01:00
Rob Austin
c83030bc40
HCOLL-167 improved the StatelessChronicleMapTest
2014-10-21 20:47:50 +01:00
Rob Austin
8b897f0a52
HCOLL-167 fixed up the tests
2014-10-21 19:27:58 +01:00
Rob Austin
e986fa63c4
HCOLL-167 changed the ports
2014-10-21 19:23:06 +01:00
Rob Austin
997b678ed4
HCOLL-167 fixed up the tests
2014-10-21 18:58:31 +01:00
Rob Austin
c5d56752a2
HCOLL-167 added a working version of StatelessChronicleMapTest but requires refactoring,
2014-10-21 17:21:36 +01:00
Rob Austin
d31bff4d14
HCOLL-167 added JSR166y tests
2014-10-21 08:21:35 +01:00
Rob Austin
a664ab6c9f
HCOLL-167 improved test
2014-10-20 19:12:33 +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
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
Rob Austin
65bb782be9
Merge branch 'master' of github.com:OpenHFT/Chronicle-Map
2014-10-20 12:05:37 +01:00
Rob Austin
b395f9f5ed
HCOLL-167 StatelessServerConnector added support for the case where the response is bigger than the buffer
2014-10-20 11:48:41 +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
leventov
8a71911e53
Merge branch 'master' of github.com:OpenHFT/Chronicle-Map
...
Conflicts:
pom.xml
2014-10-19 21:02:01 +04:00