Commit Graph
115 Commits
Author SHA1 Message Date
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
leventov bb22985d9c Remove entriesPerSegment field from VanillaChronicleHash 2016-01-19 14:17:38 +03:00
leventov dd4c2f67d8 Remove replication frontend implementation in favor of Chronicle Engine 2016-01-15 22:19:52 +03:00
leventov b168612d90 Add ListMarshaller and SetMarshaller factory methods 2016-01-11 15:22:42 +03:00
leventov 75252c9fdf Simplify CharSequenceSizedReader 2016-01-11 15:19:15 +03:00
leventov 65afe387e3 Fix grammar and style of the spec 2016-01-09 19:08:16 +03:00
leventov b4688e012d Test fixes 2015-12-23 18:56:55 +03:00
leventov 832ab5c5da Fix CMUseCasesTest.testMapStringIntegerValueWithoutListMarshallers() 2015-12-22 17:22:42 +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 114d2840f1 Remove newKeyInstance() and newValueInstance() as more confusing than helpful 2015-11-25 01:03:07 +03:00
leventov 582560ed15 Make ChronicleMapBuilder.entries() config obligatory for in-memory Maps and persistence-creating Maps 2015-11-24 23:50:41 +03:00
leventov 61254caf8f Inner classes couldn't extend marshallers because cannot be Serializable 2015-11-23 19:08:36 +03:00
leventov ade2196e72 Java-Lang -> Chronicle-Bytes, Chronicle-Values 2015-11-22 22:10:39 +03:00
leventov 01ac66a830 Replace net.openhft.chronicle.hash.function.SerializableFunction usages with the same interface from Chronicle-Core, and delete net.openhft.chronicle.hash.function package 2015-10-22 16:44:05 +03:00
leventov a13bf449d0 Make value and value size configuration obligatory in ChronicleMapBuilder 2015-10-14 17:47:22 +03:00
leventov 440b075f9d Remove ChronicleMap.putMapped() as a duplicate of computeIfPresent(); Reduce the number of ignored tests 2015-09-27 15:41:07 +03:00
leventov 5a54f6a194 Remove stateless client 2015-09-25 20:39:39 +03:00
leventov e7a8a11505 OHFT-58 Change license to LGPLv3 to protect redistribution 2015-07-25 23:12:23 +03:00
leventov 81a20e6751 Update @Ignore 2015-07-25 19:14:25 +03:00
Rob Austin e2020e3ff2 testing off heap interfaces with String[]
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 18:14:13 +03:00
Rob Austin 0f246f7355 changed to us File.createTempFile
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 18:01:17 +03:00
Rob Austin da3e104974 ensure file location is unique - File file = new File(TMP + "/chronicle-map-" + System.currentTimeMillis() + (i++) + System.nanoTime() + ".json"); 2015-07-25 17:54:39 +03:00
Rob Austin 3ce0a03ca2 ensure that we close() on interupt
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 17:08:55 +03:00
Rob Austin 9557993b8f added @Ignore
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 17:08:07 +03:00
Rob Austin 6a0fb52735 ensures the files names are unique 2015-07-25 15:49:13 +03:00
leventov 912a3cc2fc Removed ChronicleHash.context() method and changed acquireContext() return type from deprecated MapKeyContext to Closeable 2015-07-24 03:43:50 +03:00
leventov 9746084998 Start setting lastModifiedTime and fixed bootstrapping; clarified some test @Ignores 2015-06-16 16:22:32 +03:00
leventov f1da352a5d Made listeners almost work for replication 2015-06-02 19:02:55 +01:00
leventov b4c8554b77 SPI implementation 2015-05-27 00:03:20 +01:00
leventov c8f61e3275 Dirty fix of issue with CharSequence equivalence, for correct ChronicleMap.equals() and hashCode() impls 2015-02-13 13:31:12 +07:00
leventov 16f85e4c5e First step in separation of core ChronicleHash functionality from Map and Set; Start Java 8 adoption; Bug fixes 2015-02-12 15:24:24 +07:00
leventov 45b7919abe Ignore ChronicleMap.putMapped() tests until not finally specified 2015-02-09 08:32:41 +07:00
Peter Lawrey d1b8cb0915 Remove the unfriendly clean up check. 2015-02-06 13:37:55 +00:00
Peter Lawrey dc43dd2b1e Add debugging to detect when stores are unmapped (clean up) 2015-02-04 20:00:52 +00:00
leventov 5fe9e686d2 Moved name() from TcpTransportAndNetworkConfig to AbstractReplication 2015-02-03 22:37:41 +07:00
Peter Lawrey 6435bb9e70 Merge remote-tracking branch 'origin/master'
Conflicts:
	pom.xml
2015-01-30 13:06:12 +00:00
Peter Lawrey 1f1a5c93eb Start single file chronicle support based on Wire 2015-01-30 12:50:35 +00:00
leventov 872840a591 Configure DummyValue marshaller 2015-01-26 14:19:38 +07:00
leventov 32ee88b4d7 Removed CHMUseCases tests which make little sense with new contexts 2015-01-25 08:58:52 +07:00
leventov 06b326ab05 Implemented forEachEntry() and forEachEntryWhile() 2015-01-20 01:00:38 +07:00
leventov d897891bfb Great refactoring 2015-01-17 03:19:35 +07:00
Peter Lawrey 8a4ad9ade2 Use ChronicleMapBuilder to build all ChronicleMap 2015-01-15 17:35:44 +00:00
leventov 96a0b57c66 HCOLL-285 Refactor Stateless client builders, MapInstanceConfig =>
Builder, removed addJsonConverter method from ChronicleMapBuilder
2015-01-02 00:36:30 +07:00
Rob Austin 1443cb1f7c HCOLL-276 Server to send V/K serialisers to the stateless client - also now auto resizing buffer 2014-12-28 18:04:42 +00: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
Rob Austin 06fcaa4c71 added byte[][] value test case 2014-12-25 19:40:35 +00:00
Rob Austin f8f3967be6 HCOLL-269 fixed issued where Map with value type of Set<String> throws NPE on map.entrySet() if populated with a Collections.EMPTY_SET, the bug was in the net.openhft.lang.io.serialization.impl.CollectionMarshaller 2014-12-24 20:32:55 +00:00
Rob Austin f37255b2ac HCOLL-267 fixed serialization issue with GenericEnumMarshaller 2014-12-24 18:48:33 +00:00
Rob Austin d745d822b0 Merge remote-tracking branch 'origin/master' 2014-12-24 18:09:17 +00:00
Rob Austin 326e5f32f1 HCOLL-259 enhanced the DataValueConverter to now support Map<->JSON and back, of nested $$Native classes, such as those examples used with the BondVOInterface. 2014-12-24 18:08:52 +00:00