Commit Graph
91 Commits
Author SHA1 Message Date
Peter Lawrey 87449b7d99 Replace "throws Exception" with the specific Exception(s) thrown.
Conflicts:
	src/main/java/net/openhft/chronicle/map/EngineReplicationLangBytes.java
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
	src/test/java/net/openhft/chronicle/map/IntIntMultiMapTest.java
2015-07-25 23:25:54 +03:00
leventov e7a8a11505 OHFT-58 Change license to LGPLv3 to protect redistribution 2015-07-25 23:12:23 +03:00
Rob Austin ba0b8e9add focusing on using autoClose 2015-07-25 17:03:46 +03:00
Rob Austin 1448aacdb9 focusing on using autoClose
Conflicts:
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
2015-07-25 17:02:49 +03:00
Rob Austin 8377d7d23b focusing on using autoClose
Conflicts:
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
2015-07-25 16:51:51 +03:00
Rob Austin d9be91d106 focusing on using autoClose
Conflicts:
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
	src/test/java/net/openhft/chronicle/map/LargeEntriesTest.java
2015-07-25 16:45:02 +03:00
Rob Austin fa787d150b updated to AutoClose
Conflicts:
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
2015-07-25 16:31:42 +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 bf20bc98c3 Fixed several replication bugs; Value -> Data; extracted ReplicableEntry as a superclass of HashReplicableEntry 2015-06-15 21:34:45 +03:00
leventov 8f87a23a2e Ignore failing tests 2015-05-27 12:03:27 +01:00
leventov b4c8554b77 SPI implementation 2015-05-27 00:03:20 +01: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
leventov 59b357014d Made VanillaContext more defensive and error checking 2015-01-24 13:48:40 +07:00
leventov 06b326ab05 Implemented forEachEntry() and forEachEntryWhile() 2015-01-20 01:00:38 +07:00
leventov a36e1bcfb7 More bug fixes 2015-01-19 09:01:29 +07:00
leventov d897891bfb Great refactoring 2015-01-17 03:19:35 +07:00
Rob Austin 41a96d9954 added test case net.openhft.chronicle.map.ChronicleMapTest.testByteArrayPersistenceFileReuse 2015-01-03 18:44:13 +00:00
leventov db594bfb64 HCOLL-277 HCOLL-278 HCOLL-289 Fixed two bugs in VanillaChronicleMap.putValue() 2015-01-03 01:56:49 +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 52b8ad86d5 HCOLL-283 HCOLL-276 Fixed a bug in with underinitialized key/value serialization builders when the server map is deserialized from file 2014-12-31 02:01:25 +07:00
Rob Austin 646eb53184 HCOLL-283 updated test. 2014-12-30 10:07:50 +00:00
Rob Austin f7b52ddd69 removed System.out 2014-12-29 18:02:14 +00:00
Rob Austin 07cbd418e6 HCOLL-283 adedd -"issue with net.openhft.chronicle.map.ChronicleMapTest#testByteArrayKeySizeBySample" 2014-12-29 18:01:32 +00:00
Peter Lawrey 871289d7ad Merge remote-tracking branch 'origin/master' 2014-12-27 14:54:05 +00:00
Peter Lawrey 393be94238 HCOLL-251 Make the tests more stable. 2014-12-27 14:53:26 +00:00
leventov cf5ae63e84 Optimized generalized data value generation ser/deser, when Byteable (i. e. direct impl) is given 2014-12-27 17:50:21 +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 890d5a87f7 HCOLL-203 Fixed testAcquireLockedLLPerf -- use all available processors 2014-12-22 22:36:48 +07:00
Rob Austin 0b765451a8 HCOLL-265 test for - Chronicle Maps with Identical char[] values are not equal 2014-12-22 13:15:21 +00:00
Rob Austin f224a2dd6d HCOLL-265 test for - Chronicle Maps with Identical char[] values are not equal 2014-12-22 10:58:08 +00:00
Peter Lawrey 95f5ed6ac5 Merge remote-tracking branch 'origin/master' 2014-12-19 21:34:18 +00:00
Peter Lawrey 4a05e33d46 Add an example for lots of entries. 2014-12-19 21:32:45 +00:00
leventov e951a4339a Reduced unnecessary and wrong ChronicleMapBuilder.entrySize() usage 2014-12-19 23:34:02 +07:00
Rob Austin 80c37e38f0 changed to @Test(expected = IllegalStateException.class) 2014-12-19 09:53:48 +00:00
Rob Austin 68cc65afb0 added @Ignore 2014-12-19 09:40:41 +00:00
leventov bdeda7cc9f Fixed ChronicleMapTest.testAcquireLockedLLPerf() 2014-12-17 12:52:06 +07:00
Peter Lawrey 6aaa5b9d6b HCOLL-251 Re-tune the estimates for number of segment and how much entry headroom to use. 2014-12-16 20:48:18 +00:00
Rob Austin 817362d3f0 HCOLL-221 removed @Ignore as the test is now passing 2014-12-12 10:44:18 +00:00
Rob Austin 81082aab62 Added back in the @Ignore and JIRA - this has just failed on TC so I defiantly think there is a genuine bug
ChronicleMapTest.testAcquireFromMultipleThreads

	Current failure:		 #816	rob.austin (2)	03 Dec 14 09:23
	First failure: 		 #815	rob.austin (1)	02 Dec 14 20:09
java.lang.AssertionError: expected:<10000> but was:<9994>
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.failNotEquals(Assert.java:743)
    at org.junit.Assert.assertEquals(Assert.java:118)
    at org.junit.Assert.assertEquals(Assert.java:555)
    at org.junit.Assert.assertEquals(Assert.java:542)
    at net.openhft.chronicle.map.ChronicleMapTest.testAcquireFromMultipleThreads(ChronicleMapTest.java:553)
    at net.openhft.chronicle.map.ChronicleMapTest.testAcquireFromMultipleThreads(ChronicleMapTest.java:529)
« Hide stacktrace

see http://teamcity.higherfrequencytrading.com:8111/viewLog.html?buildId=3763&tab=buildResultsDiv&buildTypeId=OpenHFT_ChronicleMap_Snapshot
2014-12-03 09:29:56 +00:00
leventov a5631953d6 HCOLL-221 enabled testAcquireFromMultipleThreads() test, because failing ONLY within IntelliJ, from Maven build it succeeds on all machines. Seems there is no bugs. 2014-12-02 14:49:20 +07:00
leventov f0bb095d65 HCOLL-222 clarified error message if trying to put the unitialized byteable key/value, that might be quite common mistake 2014-12-01 23:21:58 +07:00
Peter Lawrey 1e40c765f8 Remove blank lines at the start of methods and loops. 2014-11-30 22:48:57 +02:00
Peter Lawrey adae564595 Remove blank lines before } 2014-11-30 22:46:22 +02:00
Peter Lawrey 6d4b143903 Remove double and triple blank lines 2014-11-30 22:43:32 +02:00
Peter Lawrey 50a337af0d HCOLL-211 Add marshallers for List and Set. 2014-11-30 13:44:59 +02:00
Rob Austin e69d204c90 HCOLL-222 added failing test - map.put() throwing and NPE when putting a LongValue$$Native 2014-11-28 11:34:55 +00:00
Rob Austin 71e4ddfd1f Resurrecting some commented out test and removing the sleep from the close on StatelessClient 2014-11-27 21:07:02 +00:00