Peter Lawrey
3750bc4f8e
HCOLL-81 make it clear that mapForKey is read only as it uses a Function and updateForKey is read/write and takes a mutator.
2014-11-15 12:56:37 +00:00
Peter Lawrey
2aaf5b5395
HCOLL-81 extend support for mapForkey to all maps.
2014-11-15 12:31:02 +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
b75da5485e
updated javadoc example
2014-11-13 14:18:45 +00:00
Rob Austin
8e5a8278c2
added back in the {@code
2014-11-13 12:55:04 +00:00
Rob Austin
9115f0587d
mmm something was wrong witht the pre tag.. not sure what.
2014-11-13 12:50:24 +00:00
Rob Austin
3089fa310a
mmm something was wrong witht the pre tag.. not sure what.
2014-11-13 12:49:54 +00:00
Rob Austin
3f5c083cf9
mmm something was wrong witht the pre tag.. not sure what.
2014-11-13 12:48:32 +00:00
Rob Austin
cdbe799c2b
Merge remote-tracking branch 'origin/master'
2014-11-13 12:45:59 +00:00
Rob Austin
4f8bdfb0a3
mmm something was wrong witht the pre tag.. not sure what.
2014-11-13 12:44:50 +00:00
danielshaya
1d1cd4e80e
Tiny fix to JavaDoc.
2014-11-13 11:46:22 +00:00
danielshaya
d25713f47d
Fixed formatting in JavaDoc.
2014-11-13 11:38:41 +00:00
Rob Austin
94aabe3911
reverted back to allow acquireUsing to be passsed a NULL value
2014-11-11 08:56:36 +00:00
Rob Austin
0edb2252fa
HCOLL-155 improved documentation
2014-11-10 13:25:59 +00:00
Peter Lawrey
f8f99c7c00
Fix a generic in Javadoc.
2014-11-06 15:22:28 +00:00
Rob Austin
8740ef1568
HCOLL-155 updated java doc
2014-11-05 09:38:49 +00:00
Rob Austin
faf7bf939d
HCOLL-155 updated java doc to include readlock
2014-11-05 09:37:02 +00:00
Rob Austin
130ee0f481
HCOLL-155 added java doc to - ReadContext<K, V> getUsingLocked(@NotNull K key, @NotNull V usingValue);
2014-11-05 09:32:44 +00:00
Rob Austin
ef0cd0f96f
HCOLL-155 removed acquireUsingReadLocked and acquireUsingWriteLocked to WriteContext<K,V> acquireUsingLocked(@NotNull K key, @NotNull V usingValue); and ReadContext<K,V> getUsingLocked(@NotNull K key, @NotNull V usingValue);
2014-11-02 18:35:26 +00:00
Rob Austin
118ed1676f
HCOLL-155 added two of peters tests and them implemented the code accordingly - the test are net.openhft.chronicle.map.ChronicleMapTest#testOffheapAcquireUsingLocked and net.openhft.chronicle.map.ChronicleMapTest#testOnheapAcquireUsingLocked
2014-11-02 00:16:02 +00:00
Rob Austin
100d839a8b
HCOLL-155 uncompleted, checked in order that Peter can review the changes so far of - chm.acquireUsingReadLocked and chm.acquireUsingWriteLocked
2014-11-01 15:53:47 +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
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
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
leventov
a5bf4f8448
HCOLL-136 HCOLL-137 HCOLL-164 Extracted ChronicleHash abstraction and updated ChronicleMap docs
2014-10-14 14:06:40 +04:00
leventov
ea16356d46
New Chronicle-Map
2014-09-05 17:39:51 +04:00
Rob Austin
c3904e6930
HCOLL-119 moved the builder into chronicle map
2014-07-29 09:58:37 +01:00
Rob Austin
15a6608842
HCOLL-119 removed the use of " public <K, V> SharedHashMap<K, V> create(File file, Class<K> kClass, Class<V> vClass) "
2014-07-24 16:59:53 +01:00
Rob Austin
006a874ae2
HCOLL-119 removed the use of " public <K, V> SharedHashMap<K, V> create(File file, Class<K> kClass, Class<V> vClass) "
2014-07-24 14:19:51 +01:00
Rob Austin
ca899a90e2
HCOLL-119 Add Lamda support to SHM
2014-07-24 12:57:56 +01:00
Rob Austin
fd91368197
HCOLL-119 Add Lamda support to SHM
2014-07-24 11:07:36 +01:00