rogersimmons
ce3e4ab4b1
Fix test
2019-10-03 15:18:27 +01:00
rogersimmons
f10edcf1c8
https://github.com/ChronicleEnterprise/Chronicle-Map-Enterprise/issues/15
...
Support reporting of unacknowledged/outstanding keys
Add per-map changeCount for change tracking (for use with tracking replication acks)
2019-10-03 14:52:02 +01:00
Peter Lawrey
b05bd4689f
Enhancements to Map Enterprise to simplify Map and QMB usage. https://github.com/ChronicleEnterprise/Chronicle-Map-Enterprise/issues/17
2019-10-01 18:17:22 +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
Peter Lawrey
c72fdcb306
Remove <p/>
2019-08-15 09:45:08 +01:00
Peter Lawrey
8d7f2703df
Deduce redundant newlines
2019-08-13 11:46:25 +01:00
udaysagar2177
77b678184f
be able to skip automatic closing of a hash resource
2019-06-12 19:11:29 -07:00
Rob Austin
cbf8db4687
reverted changes to chroncle map builder because its no-longer required.
2019-05-28 19:14:25 +01:00
Rob Austin
13ea4decc1
made key and value builders public
2019-05-24 19:05:11 +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
Rob Austin
dbecb72115
fixed https://github.com/OpenHFT/Chronicle-Map/issues/166 removed pos+1
2018-11-16 17:07:18 +00:00
Rob Austin
79c7701a52
fixed https://github.com/OpenHFT/Chronicle-Map/issues/166 void relocation(Data<V> newValue, long newEntrySize) to void relocation(newValue, newSizeOfEverythingBeforeValue);`
2018-11-16 17:05:09 +00:00
Rob Austin
9a02d8e250
change to s.freeExtra(pos+1, entrySizeInChunks, newSizeInChunks);
2018-11-15 21:17:26 +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
Roman Leventov
502c6b701d
Merge pull request #160 from OpenHFT/new-license
...
Change the license to Apache 2.0
2018-09-14 18:37:12 +03:00
Peter Lawrey
806efd6d6e
Include the size of the checksum in the entry size.
2018-09-14 15:16:20 +01:00
Dmitry Pisklov
57dfb00834
Merge branch 'master' into new-license
2018-09-14 13:31:40 +01:00
Dmitry Pisklov
1e1a086ea9
Change of license - update headers
2018-09-14 13:27:49 +01:00
peter lawrey
b413c026ee
Added ARM support for UnsafeMemory, https://github.com/OpenHFT/OpenHFT/issues/23
2018-09-14 11:26:13 +00:00
Peter Lawrey
337698b408
Added ARM support for UnsafeMemory, https://github.com/OpenHFT/OpenHFT/issues/23
2018-09-13 16:56:44 +01:00
Rob Austin
43a17b5606
removed -> if (localIdentifier == -1)
...
throw new IllegalStateException("localIdentifier should not be -1");
2018-09-06 22:05:51 +01:00
Rob Austin
914f27b588
added " public boolean tryReserve()" and some public methods to the build
2018-09-06 19:10:02 +01:00
Peter Lawrey
93e6626e45
#151 BytesMarshallable and interface value classes not supported.
2018-04-30 16:29:21 +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
Jerry Shea
657be1137b
Minor doco tweaks
2017-09-12 14:04:35 +10:00
epickrram
5fc64e361c
add exception cause
2017-07-26 11:22:24 +01:00
epickrram
e720aeb47c
allow replicated map impl to be overridden
2017-07-24 13:49:09 +01:00
epickrram
679e156da2
skip key bytes when the replication entry is a delete
2017-07-14 13:21:56 +01:00
epickrram
abe4297c9e
skip over value bytes after reading replicated data
2017-07-14 12:18:37 +01:00
epickrram
f058c5a9b4
promote replication builder attribute
2017-07-11 13:53:59 +01:00
epickrram
0201c6ae2c
remove comments
2017-07-10 11:11:02 +01:00
epickrram
ef3e0bbe69
allow Byteable instances that have maxSize() determined at runtime
2017-07-10 10:27:40 +01: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
b9893ffab7
Add ChronicleHashBuilder.createOrRecoverPersistedTo(file, sameLibraryVersion) method and emphasize in docs, that the boolean flag in the 'recoverPersistedTo' family of methods couldn't be true, if the version of the library, with which the Chronicle Map persisted to the given file was created, could be different from the present version of the Chronicle Map library
2017-02-19 22:02:38 -06:00
leventov
59a2cd8d80
Don't overwrite Chronicle Map header, if it's checksum is correct
2017-02-19 21:21:46 -06:00
leventov
8f9de993d0
Catch Throwable instead of Exception and convert to ChronicleHashRecoveryFailedException in ChronicleMapBuilder.openWithExistingFile()
2017-02-19 20:19:33 -06:00
leventov
1c600120a5
Update chronicle-bom and third-party-bom dependencies to the latest versions
2017-01-07 19:52:30 +08:00
leventov
8875a94dc6
Copy VanillaGlobalMutableState29425Native and ReplicatedGlobalMutableState29425Native into source tree to practically improve user experience in OSGi/container/module environments until Chronicle Values learn how to generate classes in compile time
2016-12-27 16:03:48 +07: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
4bb2decc34
Make OldDeletedCleanupThread daemon and don't wait for this thread to cease in ReplicatedChronicleMap.close(), because if the thread is already dead by the time cleanupThread.join() is called, this call hangs
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