Ilya Kaznacheev
72cc3956e8
Use priority shutdown hook to close maps on exit
...
Fixes ChronicleEnterprise/Chronicle-Map-Enterprise#57
2021-07-26 19:30:03 +03:00
Rob Austin
e8b2863dd8
ignored msync - #304
2021-07-05 16:55:59 +01:00
Peter Lawrey
bc5ae9618e
Reduce redundant newlines
2021-06-29 09:16:03 +01:00
Peter Lawrey
125577b96e
Use Jvm.{level}() handlers instead of calling loggers directly, and unit tests cleanup esp use of @After, https://github.com/OpenHFT/Chronicle-Core/issues/233
2021-06-28 12:49:39 +01:00
Peter Lawrey
0c9eab0150
Improved Java 11 javadoc
2021-06-22 10:15:08 +01:00
Ivan Rakov
1f00444d13
Fixed data loss on bloated map restart, closes https://github.com/ChronicleEnterprise/Chronicle-Map-Enterprise/issues/53
2021-05-26 21:30:52 +03:00
Peter Lawrey
46306c320e
Tidy newlines
2021-03-20 19:07:06 +00:00
Rob Austin and Rob Austin
addfc1481f
improvement to map ( #266 ) and ( #265 )
...
* added AbstractClosable
* added Jvm.init()
* added disable.thread.safety
* ignore thread safety check
* disabled threadSafetyCheck for chronicle map
* removed init()
* changed isOpen() to be !isClosed()
* throwExceptionIfClosed() now creates a new ChronicleHashClosedException()
* added test testRemainingAutoResizesAfterClose
Co-authored-by: Rob Austin <rob.austin@boundedbuffer.co.uk >
2021-01-27 18:23:07 +00:00
Per Minborg
66c8c2e6a4
Revert "Cleanup usages"
...
This reverts commit 7aa7b81a67 .
2020-12-11 11:01:36 +01:00
Per Minborg
7aa7b81a67
Cleanup usages
2020-12-10 19:06:32 +01:00
Per Minborg
b94f45378e
Use TL::remove rather than TL::set(null)
2020-12-10 18:02:45 +01:00
Per Minborg
49b58862b9
Prevent arithmetic operations from overflowing, Fix #244
2020-12-10 17:38:14 +01:00
Per Minborg
cd2075b26c
Add internal packages
2020-12-10 15:28:07 +01:00
Peter Lawrwy
902866f3e0
All @Deprecated members which have no comment are marked to be removed in x.22, closes https://github.com/OpenHFT/OpenHFT/issues/41
2020-12-03 08:47:57 +00: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
a76f6b7e86
Remove redundant newlines
2020-10-29 15:51:01 +00:00
Peter Lawrey
c6cb8865c8
Single repo to build all the others with the latest SNAPSHOT, tidy copyright, https://github.com/ChronicleSoftware/Build-All/issues/1
2020-10-26 10:57:04 +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
a1580e45f9
Don't monitor the segmentBytes as it is just a wrapper
2020-10-16 08:15:24 +01:00
Peter Lawrey
25a2bfb4c5
Improved support for BytesMarshallable and Marshallable, closes https://github.com/OpenHFT/Chronicle-Map/issues/235
2020-10-15 18:22:28 +01:00
Peter Lawrey
3823ac1ee5
Avoid NPE in close
2020-10-15 16:49:27 +01:00
Peter Lawrey
afdff9ef6c
Honours the maximum capacity set for Bytes, closes https://github.com/OpenHFT/Chronicle-Bytes/issues/141
2020-10-12 13:08:57 +01:00
Peter Lawrey
87f7820407
Fix @NotNull annotations
2020-09-25 13:32:02 +01:00
Per Minborg
f8c5d9dc2d
Add warning to JavaDoc on *recover* operations
2020-09-03 09:27:05 +02:00
Per Minborg
36f03b4e4a
Add file locking, work on #229
2020-09-02 17:40:18 +02:00
Per Minborg
5ace988277
Cleanup classes
2020-09-02 10:42:29 +02:00
Per Minborg
1ff3a06263
Cleanup CanonicalRandomAccessFiles
2020-09-01 16:04:41 +02:00
Peter Lawrey
e4bf64d04b
Add readLimitToCapacity(); to optimise this use case
2020-06-23 10:04:40 +01:00
Peter Lawrey
bc5453d292
Add Jvm.nanoPause to tight loops
2020-06-19 10:30:28 +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
b51207186a
changed to MapClosable
2020-05-29 18:22:13 +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
Peter Lawrey
9b1d3f6393
Add a RandomAccessFile which doesn't resource leak on a GC, https://github.com/OpenHFT/Chronicle-Core/issues/108
2020-05-07 11:33:10 +01:00
Peter Lawrey
a7ebbf6a75
Simplified support for Marshallable and BytesMarshallable, https://github.com/OpenHFT/Chronicle-Map/issues/196
2019-09-20 14:19:45 +01: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
boshu Zheng
58950c83eb
Fix a broken link in code comments.
2019-08-21 17:33:12 +08:00
udaysagar2177
77b678184f
be able to skip automatic closing of a hash resource
2019-06-12 19:11:29 -07:00
Peter Lawrey
7377cce7fc
Remove an implied Iterator which Escape Analysis might not remove, closes https://github.com/OpenHFT/Chronicle-Map/issues/177
2019-05-09 17:03:40 +01:00
Peter Lawrey
1a36f1bbc6
Ensure the chunk size is a multiple of the alignment, closed https://github.com/OpenHFT/Chronicle-Map/issues/169
2019-05-09 12:28:04 +01:00
Peter Lawrey
6711903d2c
Ensure HeapBytesStore has final fields for correct visibility, https://github.com/OpenHFT/Chronicle-Wire/issues/137
2019-05-08 19:27:15 +01:00
Jan Nielsen
8fdf65ebbd
Polish: use intellij notnull and nullable.
2019-02-15 17:47:29 -07:00
Rob Austin
075083455e
corrected -> return (int) (sizeInBytes / chunkSize) + 1;
2018-11-15 21:27:46 +00:00
Rob Austin
2f6e9441d7
added a work around to address -> net.openhft.chronicle.map.MissSizedMapsTest
2018-11-15 18:45:27 +00:00
udaysagar2177
7b686ae152
return builder object after setting pre-shutdown action
2018-09-28 15:14:08 -07:00
Dmitry Pisklov
89b0b6b163
Merge pull request #159 from udaysagar2177/fix2
...
add pre-shutdown action to be executed inside ChronicleHashCloseOnExitHook
2018-09-26 11:23:10 +01:00
udaysagar2177
9eed0e3265
add pre-shutdown action to be executed inside ChronicleHashCloseOnExitHook.
...
This is useful when we want to do an orderly shutdown.
For example: To carry out graceful shutdown and explicitly control when a ChronicleHash
is closed, a pre-shutdown action can be a wait on a CountDownLatch that would be released
appropriately.
2018-09-21 00:36:04 -07:00
Dmitry Pisklov
471d1d3931
Closeable
2018-09-19 14:35:20 +01:00
Dmitry Pisklov
0bc8b226e4
Fix for Java 9+
2018-09-18 19:15:25 +01:00