Commit Graph
1204 Commits
Author SHA1 Message Date
leventov 8981ae2fd0 More comments in ChronicleMapBuilder 2016-10-01 20:33:16 +03:00
leventov 126f091113 Add missing private constructor to CanonicalRandomAccessFiles to prohibit instantiation of this class 2016-10-01 20:33:16 +03:00
leventov b4258fa263 Don't use synrhonized on a public object (the map itself) in ReplicatedChronicleMap.close() 2016-10-01 20:33:16 +03:00
leventov d04b7cfc20 Make OldDeletedEntriesCleanup a Thread instead of Runnable to be executed in a single-threaded executor 2016-10-01 20:33:16 +03:00
leventov f93001dc8e Minor fixes in VanillaChronicleMap and ReplicatedChronicleMap 2016-10-01 20:33:16 +03:00
leventov ec919b94eb More clarifying comments in ThreadLocalState.closeContext() 2016-10-01 20:33:16 +03:00
leventov 95ca197444 Move ThreadLocalState.iterationContextLockedInThisThread after static members in this class 2016-10-01 20:33:16 +03:00
leventov 15022b18b3 Close iterationContext used in recovery, fixes #96 2016-08-21 18:46:51 +07:00
leventov 54d481507b Remove unused field in SerializationBuilder 2016-08-05 23:31:36 +07:00
leventov 9a5d6fa50e Address the issue with ChronicleHash accessors throwing AssertionError instead of IllegalStateException after ChronicleHash is closed 2016-08-05 23:31:09 +07:00
leventov ba8227ade1 Use more specific ChronicleHashClosedException instead of IllegalStateException, when methods of ChronicleHash are called after hash.close(). Actualize ChronicleHash.close() javadoc. 2016-08-05 23:22:51 +07:00
leventov f9edc314bb Optimize VanillaChronicleMap.longSize(): don't acquire and close context for each segment, and make it atomic against concurrent map.close() 2016-08-05 23:20:50 +07:00
Peter Lawrey 0fb4eeefdc Update Chronicle Map to using bom 1.13.12 2016-07-31 17:00:08 +01:00
leventov 4bcdcdb8ce Update license information 2016-07-22 15:05:04 +07:00
leventov 33daa3bb9b Minor optimization in HashLookupSearch.nextPos() 2016-07-17 23:36:00 +07:00
leventov 7afe1eca13 Optimize VanillaChronicleMap.get() and getUsing() 2016-07-17 23:35:58 +07:00
leventov 7a1f00b1d8 Minor javadoc improvement of ChronicleMap 2016-07-17 23:25:52 +07:00
leventov 7ada09a8dc Make VanillaChronicleHash.close() to wait until concurrent threads accessing the hash finish their work and don't permit new threads to come while close() is in progress and after that 2016-07-17 23:25:49 +07:00
leventov b3c1f7b1e2 Expose Thread owner() in ChainingInterface 2016-07-17 23:25:46 +07:00
Peter Lawrey a230c08e89 Cut blank lines 2016-07-07 20:33:40 +01:00
leventov 4cffff652f Update to newer Core, Bytes & Wire dependency versions; make all enum marshallers ordinary classes with static INSTANCE fields, because of difficulties with Wire serialization of enums 2016-06-24 17:49:34 +07:00
leventov fc6e2af7e4 Javadoc clarifications on recovery and entry checksums (#82) 2016-05-11 11:33:35 +01:00
Peter Lawrey 8ef1f1e647 Use updated BytesMarshallable with default implementations 2016-04-22 15:30:35 +01:00
leventov 733b8eb29e Merge branch 'master' of github.com:OpenHFT/Chronicle-Map 2016-04-18 18:04:57 +01:00
Peter Lawrey 35c721419c Fix a couple of API changes. 2016-04-17 19:36:06 +01:00
leventov 8dff07239f Merge branch 'master' of github.com:OpenHFT/Chronicle-Map 2016-04-15 19:21:20 +01:00
Peter Lawrey b90ebc3b39 Fix up some tests broken from a tidy up of exceptions. 2016-04-15 13:09:59 +01:00
leventov efe4a30a51 Tiny doc fixes 2016-04-12 14:38:33 +01:00
Peter Lawrey ffff33bed1 Reduce Thread.sleep to Jvm.pause, delays >= 1s to 500 ms, and remove "throws Exception" from tests 2016-04-12 12:08:14 +01:00
Peter Lawrey ceab61fd85 Rename Not Ready to Not Complete. Support reading Not COmplete messages unless being read from shared memory. 2016-04-12 11:39:23 +01:00
leventov 6baf11b5c4 Forbid primitive types as key/value types for Chronicle Map early 2016-04-05 16:17:34 +01:00
leventov 739796b90d Improve documentation 2016-03-23 20:09:43 +07:00
leventov 9530ec6795 Add Data.dataToString() method, already mentioned in tutorial 2016-03-19 18:04:22 +07:00
leventov 0ec0eed5eb Add tutorial section about custom serialization, add custom serialization tests, improve Javadocs in net.openhft.chronicle.hash.serialization package 2016-03-19 16:47:26 +07:00
leventov e081cb87ba Update Chronicle-Values dependency and try to check if some interface is a valueInterface before attempting to generate implementations 2016-03-12 21:33:23 +07:00
leventov 27d781c08d Optimize BytesMarshallable default serialization and add a test for it 2016-03-10 17:17:22 +07:00
leventov ce97577767 Fix a bug in ByteBufferDataAccess 2016-03-05 18:39:16 +07:00
leventov 1886bc1677 Fix da48414 2016-03-05 18:34:22 +07:00
leventov da48414126 Optimize SizedMarshallableDataAccess to avoid double data copy when writing values 2016-03-05 17:32:07 +07:00
leventov e2587f1ec5 Fixes in IntegerDataAccess, LongDataAccess and DoubleDataAccess 2016-03-05 16:14:28 +07:00
leventov b98a67211c Optimize Integer, Long and Double default serializers 2016-03-04 22:44:26 +07:00
leventov e677f07d46 Use Data.equivalent() method in KeySearch.keyEquals() (because it could be specialized to perform more efficiently), and switch arguments in Data.bytesEquivalent() usages, so that the first Data instance is more likely to optimized for comparison 2016-03-04 21:20:12 +07:00
leventov 08e21547a8 Optimize CharSequence, StringBuilder and String Chronicle Map's key or value type serialization 2016-03-04 21:19:56 +07:00
leventov 7fa9d23cd0 Remove unused serialVersionUID field 2016-03-04 13:29:11 +07:00
leventov f2ccfca801 Specify query operations 2016-02-28 21:33:31 +07:00
leventov dc4b578bef Lock the segment on the write level right away in HashQuery.doRemove() 2016-02-28 21:32:11 +07:00
leventov e37de00202 Reduce write lock scope as much as possible in relocation and remove operations 2016-02-26 20:55:47 +07:00
leventov ed4589a1f4 Removed unused code from VanillaChronicleHash.basicRecover() method 2016-02-24 16:44:36 +07:00
leventov 1a275288b5 Removed excessive code from ReplicatedMapAbsent.doInsert() method 2016-02-24 16:43:14 +07:00
leventov 820573a684 Add method CompactOffHeapLinearHashTable.readEntryVolatile() method and use it during key search 2016-02-20 16:38:59 +07:00