Commit Graph
76 Commits
Author SHA1 Message Date
udaysagar2177 77b678184f be able to skip automatic closing of a hash resource 2019-06-12 19:11:29 -07: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 1e1a086ea9 Change of license - update headers 2018-09-14 13:27:49 +01:00
Peter Lawrey 9323cf28a7 Standard code formatting 2018-04-21 10:49:49 +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 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 4bcdcdb8ce Update license information 2016-07-22 15:05:04 +07:00
leventov 739796b90d Improve documentation 2016-03-23 20:09:43 +07:00
leventov 56e5e93388 Hide the remaining parts of the replication API from the public eye 2016-01-17 17:08:13 +03:00
leventov d8a8a3c319 Add ChronicleHashBuilder.createOrRecoverPeristedTo() method 2016-01-17 16:03:55 +03:00
leventov dd4c2f67d8 Remove replication frontend implementation in favor of Chronicle Engine 2016-01-15 22:19:52 +03:00
leventov 97e4c12de1 HCOLL-378 #36 Add ChronicleHashBuilder.recoverPersistedTo() and ChronicleHashInstanceBuilder.recover() functionality 2016-01-04 23:24:39 +03:00
leventov 1221f11097 Make TimeProvider non-extensible and non-configurable; Fix a bug in
ReplicatedQueryAlloc.CleanupAction
2015-12-27 21:32:26 +03:00
leventov 2f58bfb399 Replace nextPosToSearchFrom with lowestPossiblyFreeChunk semantically, that allows to avoid searching free chunks though a full tier, when segment is tiered, again and again. Also, make chunk block reallocation in innerDefaultReplaceValue() and putValueDeletedEntry() check it doesn't overflow actualChunksPerSegmentTier 2015-12-07 07:20:47 +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 ade2196e72 Java-Lang -> Chronicle-Bytes, Chronicle-Values 2015-11-22 22:10:39 +03:00
leventov 22b964e069 HCOLL-392 Add entry checksums 2015-09-26 23:34:44 +03:00
leventov ff90218c0a Fix a bug in ChronicleSetBuilder -- forgot to update aligned64BitMemoryOperationsAtomic() 2015-09-26 22:07:41 +03:00
leventov 8870b05d86 HCOLL-387 add a way to limit hash lookup slots to 4 bytes 2015-09-23 02:02:36 +03:00
leventov 993cbd0c4e Add ChronicleHashBuilder.nonTieredSegmentsPercentile() configuration and use proper math for segment sizing 2015-09-20 01:39:18 +03:00
leventov 3370aa7dba Add ChronicleHashBuilder.allowSegmentTiering() config for regressions and EntryCountMapTest 2015-09-18 18:14:40 +03:00
leventov 2eed65e80e HCOLL-360 Add segment tiers 2015-09-17 20:58:52 +03:00
leventov 88843fae92 HCOLL-343 add an option not to erase old removed entries from ReplicatedChronicleMap 2015-08-27 00:01:46 +03:00
leventov 904ecca036 HCOLL-343 HCOLL-227 Remove old entries from ReplicatedChronicleMap 2015-08-23 00:01:44 +03:00
leventov 2b6c871562 Reduce ChronicleMapBuilder API surface, hide private API in a class 2015-08-05 02:57:12 +03:00
leventov e39dfc394c Add ChronicleHashBuilder.averageKey() and ChronicleMapBuilder.averageValue() methods 2015-07-29 01:21:21 +03:00
leventov e7a8a11505 OHFT-58 Change license to LGPLv3 to protect redistribution 2015-07-25 23:12:23 +03:00
Rob Austin e43765cf44 fixed some java doc issues with where cause the javadoc build to fail 2015-03-13 16:15:23 +00:00
leventov 68697831b8 Moved to CityHash (proven to be faster); Made Hashing and BytesInterop API more cohrent; removed Void marshalling because values should never be null 2015-01-26 13:21:27 +07:00
leventov d897891bfb Great refactoring 2015-01-17 03:19:35 +07:00
leventov 96a0b57c66 HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>
Builder, removed addJsonConverter method from ChronicleMapBuilder
2015-01-02 00:36:30 +07:00
leventov 81f6142af7 Clearly separated notion of entries and chunks, averageKeySize()/ValueSize() instead of keySize()/valueSize(), minor fixes and refactorings 2014-12-26 05:22:54 +07:00
leventov 872d34e230 JLANG-39 HCOLL-214 refactored builders (leaved a single builder class), fixes in DataValueBytesMarshallers implementation 2014-12-11 20:31:57 +07:00
Rob Austin 03f3f58b91 imporved javadoc 2014-12-01 12:10:42 +00:00
Peter Lawrey 6d4b143903 Remove double and triple blank lines 2014-11-30 22:43:32 +02:00
Rob Austin 84a9581c7f HCOLL-218 ReplicatedChronicleMapTest appears to use too much resources - I've looked at other tests as well and have attempted to ensure that close is called on every test, also prompting the GC to run after each test. 2014-11-26 16:24:57 +00:00
Rob Austin bf65306246 HCOLL-134 returned the remoteIdentifier back to a BYTE and improved the MapByName 2014-11-20 12:18:07 +00:00
Peter Lawrey a74596e32e Javadoc fixes 2014-11-15 16:54:44 +00:00
Rob Austin 49fc123755 HCOLL-81 made publicly a single ChronicleMapBuilder, that delegates onto internal implementations 2014-11-15 09:05:26 +00:00
Rob Austin e772737f36 HCOLL-81 renamed ChronicleMap to ChronicleMapOnHeapUpdatableBuilder as Peter wanted the OffHeapUpdated Builder to be the default ChronicleMapBuilder. 2014-11-14 12:59:03 +00:00
Rob Austin 6816810b90 HCOLL-200 fixed - testBootstrapAndHeartbeat 2014-11-11 16:46:32 +00:00
leventov c0d9099da9 Some renames in replication API, fixed potential issue with networkInterface configuration for udp multicast 2014-11-08 05:26:10 +03:00
leventov 49172e4b3b HCOLL-136 added keyMarshallers(), keySizeMarshaller() and valueSizeMarshaller() methods to Builder interfaces; removed factory field from SerializationBuilder and VanillaChronicleMap as unused 2014-11-07 16:15:37 +03:00
leventov fddacd1243 Removed AgileBytesMarshaller 2014-11-07 14:32:30 +03:00
leventov 4c86dae04f Made TcpConfig back immutable; Draw the borderline: Builders are mutable, Configs are immutable (hence ChronicleHashInstanceBuilder and StatelessClientBuilder renamed to Configs; improved TcpConfig static factory naming 2014-11-07 12:24:52 +03:00
leventov 4a51b129a3 Many renames, API refactorings, classes/interfaces made private to net.openhft.chronicle.map package
Conflicts:
	src/main/java/net/openhft/chronicle/map/StatelessChronicleMap.java
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
2014-11-07 12:10:40 +03:00
Rob Austin 9dec1ed4db reverted cff7c5bea8 2014-11-04 14:44:59 +00:00