Removed internal and not completed yet parts from public API

This commit is contained in:
leventov
2014-12-17 23:55:48 +07:00
parent 0cc07a6a91
commit 4076546e52
5 changed files with 7 additions and 6 deletions
@@ -2,7 +2,7 @@ package net.openhft.chronicle.hash.replication;
import java.net.InetSocketAddress;
public class TcpInetSocketAddress extends InetSocketAddress {
class TcpInetSocketAddress extends InetSocketAddress {
private final String toString;
public TcpInetSocketAddress(String hostname, int port) {
@@ -102,7 +102,7 @@ public final class ChronicleMapBuilder<K, V> implements Cloneable,
private static final int MAX_SEGMENTS_TO_CHAISE_COMPACT_MULTI_MAPS = (1 << 20);
private static final Logger LOG =
LoggerFactory.getLogger(ChronicleMapBuilder.class.getName());
public static final long DEFAULT_STATELESS_CLIENT_TIMEOUT = TimeUnit.SECONDS.toMillis(10);
static final long DEFAULT_STATELESS_CLIENT_TIMEOUT = TimeUnit.SECONDS.toMillis(10);
private static final StringBuilder EMTRY_STRING_BUILDER = new StringBuilder();
@@ -1,4 +1,6 @@
package net.openhft.chronicle.hash;
package net.openhft.chronicle.map;
import net.openhft.chronicle.hash.ChronicleHash;
import java.io.IOException;
import java.util.concurrent.TimeoutException;
@@ -6,7 +8,7 @@ import java.util.concurrent.TimeoutException;
/**
* @author Rob Austin.
*/
public interface FindByName {
interface FindByName {
/**
* @param name the name of the map or set
@@ -53,7 +53,7 @@ import static net.openhft.chronicle.map.NodeDiscoveryBroadcaster.LOG;
*
* This code is in alpha, and still has to undergo refactoring
*/
public class NodeDiscovery {
class NodeDiscovery {
public static final int DEFAULT_UDP_BROADCAST_PORT = 8129;
public static final short DEFAULT_TCP_PORT = (short) 8123;
@@ -19,7 +19,6 @@ package net.openhft.chronicle.map;
import net.openhft.chronicle.hash.ChronicleHash;
import net.openhft.chronicle.hash.ChronicleHashBuilder;
import net.openhft.chronicle.hash.ChronicleHashInstanceConfig;
import net.openhft.chronicle.hash.FindByName;
import net.openhft.chronicle.hash.replication.ReplicationChannel;
import net.openhft.chronicle.hash.replication.ReplicationHub;
import org.slf4j.Logger;