public abstract class Cluster<T extends ClusteredNetworkContext<T>,C extends ClusterContext<C,T>>
extends net.openhft.chronicle.core.io.SimpleCloseable
implements net.openhft.chronicle.wire.Marshallable
| Modifier and Type | Field and Description |
|---|---|
@NotNull Map<String,HostDetails> |
hostDetails |
| Modifier | Constructor and Description |
|---|---|
protected |
Cluster() |
| Modifier and Type | Method and Description |
|---|---|
C |
clusterContext() |
void |
clusterContext(C clusterContext) |
@Nullable HostDetails |
findHostDetails(int id) |
@NotNull Collection<HostDetails> |
hostDetails() |
protected void |
performClose() |
void |
readMarshallable(@NotNull net.openhft.chronicle.wire.WireIn wire) |
void |
start(int localHostId) |
void |
writeMarshallable(@NotNull net.openhft.chronicle.wire.WireOut wire) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyTo, deepCopy, fromFile, fromFile, fromString, fromString, fromString, getField, getLongField, mergeToMap, reset, setField, setLongField, streamFromFile, streamFromFilebinaryLengthLength, writeValueusesSelfDescribingMessagereferenceId, referenceName, temporary@NotNull public final @NotNull Map<String,HostDetails> hostDetails
public C clusterContext()
public void clusterContext(@NotNull
C clusterContext)
public void readMarshallable(@NotNull
@NotNull net.openhft.chronicle.wire.WireIn wire)
throws IllegalStateException
readMarshallable in interface net.openhft.chronicle.wire.MarshallablereadMarshallable in interface net.openhft.chronicle.wire.ReadMarshallableIllegalStateExceptionpublic void writeMarshallable(@NotNull
@NotNull net.openhft.chronicle.wire.WireOut wire)
writeMarshallable in interface net.openhft.chronicle.wire.MarshallablewriteMarshallable in interface net.openhft.chronicle.wire.WriteMarshallable@Nullable public @Nullable HostDetails findHostDetails(int id)
@NotNull public @NotNull Collection<HostDetails> hostDetails()
protected void performClose()
performClose in class net.openhft.chronicle.core.io.SimpleCloseablepublic void start(int localHostId)
Copyright © 2023. All rights reserved.