| Package | Description |
|---|---|
| net.openhft.chronicle.network.cluster |
| Modifier and Type | Class and Description |
|---|---|
class |
HostIdConnectionStrategy
Handles the connection strategy ( in other words when to accept or reject a connection ) and
heart beating )
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionStrategy |
HostDetails.connectionStrategy() |
<H extends HostDetails,C extends ClusterContext> |
Cluster.findConnectionStrategy(int remoteIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
HostDetails.connectionStrategy(ConnectionStrategy connectionStrategy) |
| Constructor and Description |
|---|
ClusterContext(net.openhft.chronicle.wire.WireType wireType,
java.util.function.BiFunction<ClusterContext,HostDetails,net.openhft.chronicle.wire.WriteMarshallable> handlerFactory,
java.util.function.Function<net.openhft.chronicle.wire.WireType,WireOutPublisher> wireOutPublisherFactory,
java.util.function.Function<ClusterContext,NetworkContext> networkContextFactory,
java.util.function.Supplier<ConnectionManager> connectionEventHandler,
long heartbeatTimeoutMs,
long heartbeatIntervalMs,
String clusterName,
net.openhft.chronicle.core.threads.EventLoop eventLoop,
java.util.function.Function<ClusterContext,net.openhft.chronicle.wire.WriteMarshallable> heartbeatFactory,
ConnectionStrategy connectionStrategy,
byte localIdentifier) |
Copyright © 2016. All rights reserved.