public class AlwaysStartOnPrimaryConnectionStrategy extends Object implements ConnectionStrategy
| Constructor and Description |
|---|
AlwaysStartOnPrimaryConnectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
SocketChannel |
connect(String name,
SocketAddressSupplier socketAddressSupplier,
NetworkStatsListener<? extends NetworkContext> networkStatsListener,
boolean didLogIn,
FatalFailureMonitor fatalFailureMonitor) |
void |
readMarshallable(net.openhft.chronicle.wire.WireIn wire) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitopenSocketChannel, socketChannel$equals, $fieldInfos, $hashCode, $toString, copyFrom, copyTo, deepCopy, fromFile, fromFile, fromFileAsMap, fromFileAsMap, fromHexString, fromString, getField, mergeToMap, setField, streamFromFile, streamFromFile, writeMarshallablepublic AlwaysStartOnPrimaryConnectionStrategy()
public void readMarshallable(@NotNull
net.openhft.chronicle.wire.WireIn wire)
throws net.openhft.chronicle.core.io.IORuntimeException
readMarshallable in interface net.openhft.chronicle.wire.MarshallablereadMarshallable in interface net.openhft.chronicle.wire.ReadMarshallablenet.openhft.chronicle.core.io.IORuntimeException@Nullable public SocketChannel connect(@NotNull String name, @NotNull SocketAddressSupplier socketAddressSupplier, @Nullable NetworkStatsListener<? extends NetworkContext> networkStatsListener, boolean didLogIn, @Nullable FatalFailureMonitor fatalFailureMonitor) throws InterruptedException
connect in interface ConnectionStrategyname - the name of the connection, only used for loggingdidLogIn - was the last attempt successfull, was a login establishedInterruptedExceptionCopyright © 2017. All rights reserved.