mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-167 moved classes to hash as they are used for set as well.
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user