leventov
52f4b04881
Removed unused canSupportShortShort() method in AbstractChronicleMapBuilder
2014-11-08 09:09:10 +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
c479a77268
Fixed a bug in AbstractChronicleMapBuilder.createReplicated()
2014-11-07 18:53:44 +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
09008f16fe
Moved more classes from net.openhft.chronicle.hash.serialization to .internal
2014-11-07 14:40:11 +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
Peter Lawrey
245908baad
Add a perf test for acquireUsingLocked.
2014-11-02 23:09:21 +00:00
Rob Austin
4cf1cc198a
HCOLL-167 cleaned up constructor of StatelessChronicleMap
2014-11-02 12:53:14 +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
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
Peter Lawrey
a8a9f1e76e
Simplify read/write locks. remove readers waiting count.
2014-10-31 21:12:05 +00:00
Peter Lawrey
bb94e0e547
Consolidate segment headers to reduce TLB misses. Re-tune the calculated number of segments based on the size of data.
2014-10-31 17:33:10 +00:00
leventov
ff697fa012
PrepareValueBytes imporovements and documentations [documentation campaign]
2014-10-30 16:11:20 +03:00
leventov
91a513b111
HCOLL-169 reduced replication API (not finished)
2014-10-29 18:45:00 +03:00
leventov
3e6004c3d2
HCOLL-175 entry&value default alignment changed to NO_ALIGNMENT; removed entryAndValueAlignment() method from public AbstractChronicleMapBuilder API (left only in OffHeapUpdatableCharonicleMapBuilder)
2014-10-29 16:22:49 +03:00
leventov
f7edfce81b
HCOLL-159 moved net.openhft.chronicle.hash.threadlocal package to Lang since it isn't specific to ChronicleMap at all
2014-10-29 16:11:21 +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
Rob Austin
f647f91b69
HCOLL-167 added support to delegate stateless client method calls to VChronicleMap
2014-10-28 21:29:34 +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