Commit Graph
260 Commits
Author SHA1 Message Date
Rob Austin 5e631917dc new branch 2021-01-26 18:25:46 +00:00
Rob Austin e96120e4b8 https://github.com/OpenHFT/Chronicle-Map/issues/265 added max bloat factor 2021-01-26 16:13:41 +00:00
Per Minborg c2183f3cec Announce the existence of analytics on startup, Fix #248 2020-12-15 10:19:05 +01:00
Per Minborg 61c4309c16 Avoid exception being thrown by data collector 2020-12-02 11:30:29 +01:00
Per Minborg 5b681902e9 Add package name properties 2020-11-30 13:08:00 +01:00
Per Minborg 6e1fdaab28 Add analytics 2020-11-18 19:00:29 +01:00
Peter Lawrwy 9dc2b9130f Sync 2020-11-10 15:02:44 +00:00
Peter Lawrey 83e04bce22 Tidy code 2020-11-02 10:30:37 +00:00
Peter Lawrey ed2becd838 Improved unmonitoring for nested objects i.e. objects contains objects which should also be unmonitored. 2020-10-19 16:03:34 +01:00
Peter Lawrey cab7835805 Unmonitor the segmentBytes in a Map's QueryContext, closes https://github.com/OpenHFT/Chronicle-Map/issues/232 2020-10-02 12:42:47 +01:00
Peter Lawrey 87f7820407 Fix @NotNull annotations 2020-09-25 13:32:02 +01:00
Per Minborg 490e3af56d Cleanup classes 2020-09-01 16:45:28 +02:00
Peter Lawrey e4bf64d04b Add readLimitToCapacity(); to optimise this use case 2020-06-23 10:04:40 +01:00
Peter Lawrey 2d7e3b0ba3 Code tidy 2020-06-18 13:35:55 +01:00
Peter Lawrey 8dfc91b1eb Cody tidy and optimise the tracing code. 2020-06-18 13:17:58 +01:00
Peter Lawrey 0c5a5c8909 Add throwExceptionIfClosed(); to most public methods for classes implementing Closeable, https://github.com/OpenHFT/Chronicle-Core/issues/116 2020-06-15 16:17:07 +01:00
Rob Austin f042add96b create MapClosable which replaces the default isClosed() method that was removed from chronicle closable 2020-05-29 16:40:58 +01:00
Rob Austin 2b6f416bb8 fixed https://github.com/OpenHFT/Chronicle-Map/issues/212 2020-03-25 15:08:04 +00:00
Rob Austin f94b8db0d7 corrected CompiledMapQueryContext 2020-03-04 12:54:39 +00:00
Rob Austin 6f6795371d fixed imports 2020-03-04 12:45:53 +00:00
Rob Austin 932f395561 fixed https://github.com/OpenHFT/Chronicle-Map/issues/211 2020-03-04 12:21:54 +00:00
Peter Lawrey 071bcf1d8e Added support for dynamic discovery of files, https://github.com/OpenHFT/Chronicle-Core/issues/88 2019-08-28 17:59:17 +01:00
Dmitry Pisklov 1e1a086ea9 Change of license - update headers 2018-09-14 13:27:49 +01:00
Peter Lawrey e7c7dd8975 Code tidy after code inspections 2018-04-21 17:41:31 +01:00
Peter Lawrey 9323cf28a7 Standard code formatting 2018-04-21 10:49:49 +01:00
Rob Austin 93a642054e updated the bom to the latest map 2017-11-17 15:01:31 +00:00
leventov 3e903775f9 Revert method and field reordering 2017-06-04 12:33:41 -05:00
Peter Lawrey ed8361b5cf Add a fix for enums being written as marshallables. 2017-06-04 14:01:48 +01:00
leventov 7f3cca96d2 Add ChronicleHashCorruption listening interface, and Beta annotation 2017-02-26 21:02:34 -06:00
leventov d1fd590be1 In methods which return contexts, wrap all code after context is obtained in try-catch and try to close the context if any exception occurred, to prevent context leaks 2016-12-27 15:38:52 +07:00
leventov 842064dca5 Clean serializers and ThreadLocal fields of VanillaChronicleMap on close() 2016-12-27 15:50:24 +08:00
leventov fa70e216bd Improvements to ChronicleMap resource closing subsystem, making it more robust in exotic scenarios (OutOfMemoryError, StackOverflowError) and be able to close after incorrect attempt to close when a context is open in the same thread 2016-12-26 14:27:32 +08:00
leventov 167a15f985 Cache VanillaChronicleMap.identityString lazily (after initOwnTransients()) because file() is not set by the time initOwnTransients() is called 2016-12-10 23:19:43 -06:00
leventov e0b534af23 Move all ChronicleMap closing logic into independent ChronicleHashResources. Reference contexts from ThreadLocals via ContextHolders and clear references to contexts on closing ChronicleMap. Make some closing procedures more paranoid than they were. Cache ChronicleMap's identityString and always return the same String from toIdentityString(). Add Throwables.returnOrSuppress(). 2016-12-10 21:03:20 -06:00
leventov 9e88392db6 Rename ChronicleHashResourceReleaser to ChronicleHashResources 2016-12-10 21:03:20 -06:00
leventov 37d82f290a Review Exception throwing and handling throughtput the library, create specific InterProcessDeadLockException for Chronicle Map deadlocks 2016-11-19 19:14:53 -06:00
leventov d76f838adb Add ability to configure name for all ChronicleMaps and ChronicleSets via ChronicleHashBuilder.name(). Add ChronicleHash.toIdentityString() 2016-11-12 15:43:27 -06:00
leventov 9a2bb31b66 Add ChronicleHash.offHeapMemoryUsed() method; Centralized management of all direct memory and file resources of ChronicleMap in one Cleaner 2016-11-05 15:08:45 -06:00
leventov 223b2d4329 Prevent leaks of ChronicleMaps though thread local contexts and supplimental OldDeletedEntriesCleanupThread, add MemoryLeakTest 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 15022b18b3 Close iterationContext used in recovery, fixes #96 2016-08-21 18:46: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
leventov 4bcdcdb8ce Update license information 2016-07-22 15:05:04 +07:00
leventov 7afe1eca13 Optimize VanillaChronicleMap.get() and getUsing() 2016-07-17 23:35:58 +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
Peter Lawrey 35c721419c Fix a couple of API changes. 2016-04-17 19:36:06 +01:00
leventov d7ed5b0153 Simplify parameter flow on VanillaChronicleHash initialization 2016-02-09 15:03:34 +07:00
leventov 28eeeb70e7 Remove the complexity and API-transparency of implementing and supporting built-in serializability for marshallers and core implementation classes, as this is replaced with Wire Marshallable 2016-01-14 16:07:22 +03:00
leventov 97e4c12de1 HCOLL-378 #36 Add ChronicleHashBuilder.recoverPersistedTo() and ChronicleHashInstanceBuilder.recover() functionality 2016-01-04 23:24:39 +03:00
leventov 3773b3d60a Add methods for Engine support 2015-12-18 03:00:38 +03:00