mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-134 and HCOLL-145 ( release draft cut of the code so that I can test it across my network )
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
package net.openhft.chronicle.map;
|
||||
|
||||
import com.google.auto.value.AutoValue;
|
||||
|
||||
import java.net.InetSocketAddress;
|
||||
import java.util.Collection;
|
||||
import java.util.HashSet;
|
||||
@@ -28,7 +26,7 @@ import static java.util.Arrays.asList;
|
||||
import static java.util.Collections.unmodifiableSet;
|
||||
import static java.util.concurrent.TimeUnit.SECONDS;
|
||||
|
||||
@AutoValue
|
||||
|
||||
public abstract class TcpReplicationConfig {
|
||||
|
||||
private static final int DEFAULT_PACKET_SIZE = 1024 * 8;
|
||||
@@ -65,7 +63,7 @@ public abstract class TcpReplicationConfig {
|
||||
static TcpReplicationConfig create(int serverPort, Set<InetSocketAddress> endpoints,
|
||||
int packetSize, ThrottlingConfig throttlingConfig,
|
||||
long heartBeatInterval, TimeUnit heartBeatIntervalUnit) {
|
||||
return new AutoValue_TcpReplicationConfig(serverPort, endpoints, packetSize,
|
||||
return new TcpReplicationConfigBean(serverPort, endpoints, packetSize,
|
||||
throttlingConfig, heartBeatInterval, heartBeatIntervalUnit);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user