HCOLL-167 moved classes to hash as they are used for set as well.

This commit is contained in:
Rob Austin
2014-10-29 12:59:18 +00:00
parent 2f73cf1f39
commit 70fdbb1fc6
27 changed files with 139 additions and 121 deletions
@@ -18,6 +18,7 @@
package net.openhft.chronicle.map;
import net.openhft.chronicle.hash.UdpReplicationConfig;
import org.jetbrains.annotations.NotNull;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -40,10 +41,10 @@ import static java.nio.channels.SelectionKey.OP_WRITE;
/**
* The UdpReplicator attempts to read the data ( but it does not enforce or grantee delivery ), typically, you
* should use the UdpReplicator if you have a large number of nodes, and you wish to receive the data before
* it becomes available on TCP/IP. In order to not miss data, UdpReplicator should be used in conjunction with
* the TCP Replicator.
* The UdpReplicator attempts to read the data ( but it does not enforce or grantee delivery ),
* typically, you should use the UdpReplicator if you have a large number of nodes, and you wish to
* receive the data before it becomes available on TCP/IP. In order to not miss data, UdpReplicator
* should be used in conjunction with the TCP Replicator.
*/
class UdpChannelReplicator extends AbstractChannelReplicator implements Replica.ModificationNotifier, Closeable {
@@ -69,7 +70,8 @@ class UdpChannelReplicator extends AbstractChannelReplicator implements Replica.
* @throws IOException
*/
UdpChannelReplicator(@NotNull final UdpReplicationConfig replicationConfig,
final int maxPayloadSize, final byte localIdentifier)
final int maxPayloadSize,
final byte localIdentifier)
throws IOException {
super("UdpReplicator-" + localIdentifier, replicationConfig.throttlingConfig(),