HCOLL-134 better handling of toString() and close() of the TCP connections

This commit is contained in:
Rob Austin
2014-11-20 18:48:58 +00:00
parent 272eaecaf8
commit a8479ee02f
6 changed files with 70 additions and 37 deletions
@@ -94,17 +94,17 @@ public class MapByNameTest {
final ReplicationHubFindByName<CharSequence> mapByName = nodeDiscovery.mapByName();
Thread.sleep(2000);
/* ChronicleMapBuilder<CharSequence, CharSequence> builder = ChronicleMapBuilder.of(CharSequence
ChronicleMapBuilder<CharSequence, CharSequence> builder = ChronicleMapBuilder.of(CharSequence
.class, CharSequence.class)
.minSegments(2)
.entries(2)
.name("myMap5")
.removeReturnsNull(true);
ChronicleMap<String, String> map = mapByName.create(builder);
map.put("hello", "world");*/
ChronicleMap<String, String> map = mapByName.create(builder);
map.put("hello", "world");
final ChronicleMap<CharSequence, CharSequence> map = mapByName.from("myMap5");
// final ChronicleMap<CharSequence, CharSequence> map = mapByName.from("myMap5");
// allow time for replication