leventov
ff99f5cccd
On the way to HCOLL-360: Rename HashLookup to CompactOffHeapLinearHashTable and make it not a stage; extracted KeySearch from HashQuery
2015-08-03 20:20:14 +03:00
leventov
7c10ea41ab
Fix a bug in ChronicleMapBuilder.preMapConstruction()
2015-08-02 01:37:34 +03:00
leventov
22df53afb9
Try un-@Ignore some tests
2015-08-02 01:31:09 +03:00
leventov
4a9e2c1095
Fix bugs with key/value average/constant size computation in ChronicleMapBuilder
2015-08-02 01:24:04 +03:00
leventov
0811f98e4c
Fix a bug in source code & spec -- entry relocation on put() should acquire write lock
2015-08-02 00:23:39 +03:00
leventov
38c1e1c723
Make contexts follow the spec -- nested contexts on the same key should be forbidden
2015-08-01 23:54:55 +03:00
leventov
9b0bfc631d
Removed ChronicleHashBuilderImpl and ChronicleMapBuilder minor cleanup
2015-07-31 01:50:27 +03:00
leventov
a0eb9a2f98
Fixed a bug in MapEntryStages.putValueDeletedEntry() -- the slot in hashLookup is empty, should be filled, not just the value updated
2015-07-30 03:38:00 +03:00
leventov
cf583d4510
Removed unused duplicating HashLookup class and package
2015-07-30 02:44:11 +03:00
leventov
e39dfc394c
Add ChronicleHashBuilder.averageKey() and ChronicleMapBuilder.averageValue() methods
2015-07-29 01:21:21 +03:00
leventov
a3c9ed688c
Update Javadocs - insert missing <p>In the beginnings of the paragraphs
2015-07-28 23:57:42 +03:00
leventov
b88c821ea5
HCOLL-369 various fixes
2015-07-25 23:54:17 +03:00
Peter Lawrey
a397180cf0
POC Tuning
2015-07-25 23:27:56 +03:00
Peter Lawrey
7ca658291a
CHENT-52 Fixes to support Enterprise Journal
2015-07-25 23:26:16 +03:00
Peter Lawrey
87449b7d99
Replace "throws Exception" with the specific Exception(s) thrown.
...
Conflicts:
src/main/java/net/openhft/chronicle/map/EngineReplicationLangBytes.java
src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
src/test/java/net/openhft/chronicle/map/IntIntMultiMapTest.java
2015-07-25 23:25:54 +03:00
leventov
e7a8a11505
OHFT-58 Change license to LGPLv3 to protect redistribution
2015-07-25 23:12:23 +03:00
leventov
f7789cbb5e
Reduce maximum nested contexts depth from 16k to 1k
2015-07-25 22:50:58 +03:00
Peter Lawrey
b80cac2a1f
Ensure the SerializationBuilder passes through the expected class.
...
Conflicts:
pom.xml
2015-07-25 22:48:29 +03:00
Rob Austin
fcd872c643
HCOLL-329 fixing the bootstrapping timestamp issue
...
Conflicts:
src/main/java/net/openhft/chronicle/map/ChannelProvider.java
src/main/java/net/openhft/chronicle/map/Replica.java
src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
src/main/java/net/openhft/chronicle/map/SharedSegment.java
src/main/java/net/openhft/chronicle/map/TcpReplicator.java
src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
2015-07-25 22:33:24 +03:00
leventov
da06ba106e
added a Null check for - modificationNotifier != null
2015-07-25 19:19:38 +03:00
Rob Austin
e3fc5c9aa8
added in a fix for net.openhft.chronicle.map.ReplicateProxyMapUpdatedViaSharedMemoryTest.testReplicateProxyMapUpdatedViaSharedMemory
...
Conflicts:
src/main/java/net/openhft/chronicle/map/ChannelProvider.java
src/main/java/net/openhft/chronicle/map/Replica.java
src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
2015-07-25 19:00:44 +03:00
Rob Austin
8a4291750c
HCOLL-331 added the first part of this code, Ozan will complete and issue a pull request
...
Conflicts:
src/main/java/net/openhft/chronicle/hash/replication/AbstractReplication.java
src/main/java/net/openhft/chronicle/map/ChannelProvider.java
src/main/java/net/openhft/chronicle/map/Replicators.java
src/main/java/net/openhft/chronicle/map/TcpReplicator.java
2015-07-25 18:28:56 +03:00
Rob Austin
e2020e3ff2
testing off heap interfaces with String[]
...
Conflicts:
src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 18:14:13 +03:00
Rob Austin
f4e13c78e9
HCOLL-309 added a return and now outputting the remote connection.
...
Conflicts:
src/main/java/net/openhft/chronicle/map/TcpReplicator.java
2015-07-25 18:11:35 +03:00
Rob Austin
df84845fc2
HCOLL-302 fixed bug around heapSizeOrderedFieldsGrouped
...
Conflicts:
src/main/java/net/openhft/chronicle/hash/serialization/internal/DataValueBytesMarshallers.java
2015-07-25 17:56:54 +03:00
Rob Austin
3ce0a03ca2
ensure that we close() on interupt
...
Conflicts:
src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 17:08:55 +03:00
leventov
910dcfbd75
Remove @NotNull from parameters in VanillaChronicleMap, to avoid 'unfair' test fail in IntelliJ
2015-07-25 16:16:51 +03:00
Rob Austin
abebd13414
ignore java.util.concurrent.RejectedExecutionException when already closed
2015-07-25 16:04:29 +03:00
Rob Austin
c7ef524031
ignore java.util.concurrent.RejectedExecutionException when already closed
2015-07-25 16:04:14 +03:00
Rob Austin
5606e7d264
ignore java.util.concurrent.RejectedExecutionException when already closed
2015-07-25 16:03:50 +03:00
Rob Austin
800a77e52e
introduced connectExecutorService to ensure that its closed on shutdown
2015-07-25 16:03:14 +03:00
Rob Austin
b9302248a2
now not closing on a - AsynchronousCloseException e
2015-07-25 16:02:49 +03:00
Rob Austin
c68a0ea644
removed throws InterruptedException
...
Conflicts:
src/main/java/net/openhft/chronicle/map/AbstractChannelReplicator.java
2015-07-25 15:59:59 +03:00
Rob Austin
d8d800d614
moved shutdownNow only to the main thread
...
Conflicts:
src/main/java/net/openhft/chronicle/map/AbstractChannelReplicator.java
2015-07-25 15:59:16 +03:00
Rob Austin
76d6817c41
fixed NPE - java.lang.NullPointerException
...
at net.openhft.chronicle.map.StatelessChronicleMap.receiveBytesFromSocket(StatelessChronicleMap.java:1322)
at net.openhft.chronicle.map.StatelessChronicleMap.nextEntry(StatelessChronicleMap.java:1216)
at net.openhft.chronicle.map.StatelessChronicleMap.blockingFetchThrowable(StatelessChronicleMap.java:1162)
at net.openhft.chronicle.map.StatelessChronicleMap.blockingFetchReadOnly(StatelessChronicleMap.java:1135)
at net.openhft.chronicle.map.StatelessChronicleMap.readValue(StatelessChronicleMap.java:1484)
at net.openhft.chronicle.map.StatelessChronicleMap.fetchObject(StatelessChronicleMap.java:1782)
at net.openhft.chronicle.map.StatelessChronicleMap.put(StatelessChronicleMap.java:596)
at net.openhft.chronicle.map.StatelessClientTest$3.run(StatelessClientTest.java:659)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2015-07-25 15:56:45 +03:00
leventov
3228f3e59b
Add javadocs to SegmentContexts
2015-07-25 15:16:13 +03:00
leventov
340ab09409
Moved DefaultValueProvider to the new Contexts API; removed defaultValue() SPI from MapEntryOperations (essentially replaced by DefaultValueProvider); Removed the old contexts, KeyContext and MapKeyContext completely
2015-07-24 21:36:55 +03:00
leventov
9fe1dab477
HCOLL-352 Changed garbage-free Chronicle-Map iterations API from old to new Contexts; Add SegmentContexts API
2015-07-24 20:11:58 +03:00
leventov
912a3cc2fc
Removed ChronicleHash.context() method and changed acquireContext() return type from deprecated MapKeyContext to Closeable
2015-07-24 03:43:50 +03:00
leventov
5b23bd6f45
README formatting
2015-07-23 21:58:55 +03:00
leventov
6580017b9c
Lock ordering made right
2015-07-23 21:55:49 +03:00
leventov
d5d5c2e48e
HCOLL-353 Implement nested contexts
2015-07-23 00:09:42 +03:00
leventov
2df3c02750
Fixed a bug in doReplaceValue()
2015-07-22 22:52:41 +03:00
leventov
00ad3068ee
Renamed wrapValueAsValue() to wrapValueAsData after Value -> Data rename
2015-07-22 20:46:50 +03:00
leventov
fb5f3cf2e1
HCOLL-349 HCOLL-350 stage compilation via annotation processing
2015-07-17 04:25:33 +03:00
leventov
3ae268e5e9
Revert AbstractChannelReplicator logic change
2015-07-01 16:31:36 +03:00
leventov
f0c9413a53
lockInterruptibly()
2015-07-01 14:05:56 +03:00
leventov
5c8f737654
Revert 'Make working with new bytes' and a couple of fixes
2015-07-01 10:45:48 +03:00
leventov
a61ea2240d
Rollback to Bytes 1.0.5-alpha and Access
2015-06-27 20:30:22 +03:00
leventov
ba27b5d631
Make working with the new Bytes
2015-06-24 06:37:38 +03:00