Commit Graph
1913 Commits
Author SHA1 Message Date
leventov 2d7e25985a Replace CityHash 1.1 with xxHash as the default hash function 2015-11-28 23:31:25 +03:00
leventov bfa9988551 Add ChronicleSetBuilder.entryOperations() and .remoteOperations() interception configuration methods; Rename SetRemoteOperations.insert() to put(), for consistency with MapRemoteOperations 2015-11-28 23:20:29 +03:00
leventov ec3bd9447e #60 add a test 2015-11-27 19:02:19 +03:00
leventov 8311cb5ce2 Clean up javadoc excludes 2015-11-27 18:56:32 +03:00
leventov 5d4161eb26 Use BinaryWire instead of TextWire because of predictable whitespace and bytes position after read/write 2015-11-27 16:29:44 +03:00
leventov 0a4ccaf9d1 More eleborate ExternalizableDataAccess error message, when failed to call a public no-arg constructor 2015-11-27 15:25:50 +03:00
leventov 1f3fc3f785 Don't rely on default field values, when VanillaChronicleMap instance is unsafe.allocateInstance()-ed for deserialization 2015-11-27 15:25:13 +03:00
leventov 4faefe8ca9 Improve FileChannel read/write for persisted ChronicleMaps 2015-11-26 18:49:54 +03:00
leventov e29a473e05 Flush persistence file contents on ChronicleMap.close() 2015-11-26 15:31:48 +03:00
leventov 12989df576 Remove potentially dangerous freeList bits clearing before allocation of a new block, on relocation, because overlapping range copy is platform dependent 2015-11-25 22:29:55 +03:00
leventov 25edcf9b68 Little simplification in VanillaChronicleHash.createMappedStoreAndSegments(File) 2015-11-25 22:08:53 +03:00
leventov 4fb7141a34 Add EnumMarshallable (this file should be added in commit fe77012) 2015-11-25 20:43:10 +03:00
leventov fe77012381 Read/Write ChronicleMap's boostrapping header with Wire 2015-11-25 20:37:19 +03:00
leventov d32f7e9e62 Remove VanillaChronicleMap.nativeValueClass fields (unused) 2015-11-25 18:33:29 +03:00
leventov 114d2840f1 Remove newKeyInstance() and newValueInstance() as more confusing than helpful 2015-11-25 01:03:07 +03:00
leventov 582560ed15 Make ChronicleMapBuilder.entries() config obligatory for in-memory Maps and persistence-creating Maps 2015-11-24 23:50:41 +03:00
leventov d5fe21a290 Fix a bug -- incorrect entry size computation in replace(), checksum bytes forgotten 2015-11-24 23:44:51 +03:00
leventov aec5fbe286 Update Data javadocs 2015-11-24 16:06:02 +03:00
leventov 0398f7dfbf HCOLL-406 #58 Don't check size configurations of ChronicleMapBuilder, if existing file is accessed 2015-11-24 15:42:51 +03:00
leventov 648335b546 Add CharSequenceConverter 2015-11-23 19:26:13 +03:00
leventov 61254caf8f Inner classes couldn't extend marshallers because cannot be Serializable 2015-11-23 19:08:36 +03:00
leventov beec07f9a9 Remove Xstream XML ChronicleMap header serialization (is going to be replaced with Wire serialization soon) 2015-11-23 18:43:17 +03:00
leventov f575218da9 Extend persistence file on mapping 2015-11-23 17:42:36 +03:00
leventov 701c1c8e52 Rename VanillaChronicleHash.msBytesSegmentOffset -> segmentOffset 2015-11-23 17:16:19 +03:00
leventov 1dd2f3725f Add initTransients() call in StringSizedReader constructor 2015-11-23 14:35:20 +03:00
leventov bce834d2dc Correctly initialize transient fields in marshallers 2015-11-23 14:23:51 +03:00
leventov ade2196e72 Java-Lang -> Chronicle-Bytes, Chronicle-Values 2015-11-22 22:10:39 +03:00
leventov 6b7eb99144 Remove buggy optimization in DirectBytesBuffer #58 2015-11-17 15:00:01 +03:00
leventov fdc3720e29 Update ReadMe 2015-11-02 21:28:05 +03:00
leventov c5e505525d Fix a possible bug in ReplicatedMapAbsent.doInsert() 2015-11-01 13:58:55 +03:00
leventov 01ac66a830 Replace net.openhft.chronicle.hash.function.SerializableFunction usages with the same interface from Chronicle-Core, and delete net.openhft.chronicle.hash.function package 2015-10-22 16:44:05 +03:00
leventov c056b70259 Remove unused UnaryOperator 2015-10-22 16:37:03 +03:00
leventov 2111d1865c Make all ReplicatedChronicleMap fields transient 2015-10-22 04:28:52 +03:00
leventov 0985eb71a1 Remove metaDataBytes (unused) 2015-10-22 03:45:47 +03:00
leventov 07b75d8b8a Allow ReplicatedChronicleMap to be accessed without configuring replicators 2015-10-22 00:19:59 +03:00
leventov 4c04a942f7 Update to the latest chronicle-bom 2015-10-22 00:18:31 +03:00
leventov a13bf449d0 Make value and value size configuration obligatory in ChronicleMapBuilder 2015-10-14 17:47:22 +03:00
leventov 7d35346022 Add package-private worstAlignment() config to ChronicleMapBuilder 2015-10-14 17:44:45 +03:00
leventov 18151f4f34 Add BooleanMarshaller 2015-10-14 17:42:56 +03:00
leventov f3bec4ebac Add ChronicleMap.of() as a shortcut to ChronicleMapBuilder.of() 2015-10-13 15:28:12 +03:00
leventov aec4a73866 Fix a bug in ChannelProvider.ChronicleChannel.close(), props to @maxime-leur #51 2015-10-13 14:35:11 +03:00
leventov 7c4b0ed10b Remove tier bulk alignment (as actually not needed) 2015-10-11 17:04:20 +03:00
leventov f1a13a4dfd Rename rootContextOnThisSegment -> rootContextLockedOnThisSegment and concurrentSameThreadContexts -> nestedContextsLockedOnSameSegment -- clearer names 2015-10-09 19:17:59 +03:00
leventov fb6d1facdc Fix code example in MapEntryOperations javadoc (bad formatting, the code was not printed) 2015-10-09 16:25:19 +03:00
leventov e1df6dc68f Fix a bug in TcpReplicator -- didn't schedule to connect to an endpoint later, when channel.socket().setTcpNoDelay(true) throws an exception 2015-10-09 15:11:08 +03:00
leventov cad3d3abfe HCOLL-400 forbid nested update and write locks inside iteration contexts; rename IterationContextInterface to IterationContext; update stage-compiler dependency 2015-10-09 15:09:32 +03:00
leventov 64dd5d99c1 Remove redundant hash lookup slot update in innerDefaultReplaceValue() 2015-10-07 17:08:22 +03:00
leventov 96cee73f26 Unconditional zeroing out of newly allocated memory, because 1) it is very slow in Java-Lang 6.7.3 due to a bug 2) not clear which way is better, see HCOLL-401 2015-10-07 16:51:21 +03:00
leventov 81535163b2 Make IterationContexts' hashLookupPos depend on segmentTier as well as QueryContexts'; add missed hashLookupPos step back in iteration, if hash lookup slot is removed, because entry is relocated to a chained tier; add missed tierIndex initialization in initSegmentTier_WithBaseAddr() 2015-10-07 16:43:37 +03:00
leventov 03a761ebbf Zero out last allocated tier in VanillaChronicleHash.allocateTierBulk() 2015-10-07 16:14:28 +03:00