public class Cluster extends Object implements net.openhft.chronicle.wire.Marshallable, View, net.openhft.chronicle.core.io.Closeable
| Constructor and Description |
|---|
Cluster(String clusterName) |
Cluster(String clusterName,
Map<String,HostDetails> hostDetailsMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
clusterName() |
Collection<HostDetails> |
hostDetails() |
void |
readMarshallable(net.openhft.chronicle.wire.WireIn wire) |
void |
writeMarshallable(net.openhft.chronicle.wire.WireOut wire) |
public Cluster(String clusterName)
public Cluster(String clusterName, Map<String,HostDetails> hostDetailsMap)
public void readMarshallable(@NotNull
net.openhft.chronicle.wire.WireIn wire)
throws IllegalStateException
readMarshallable in interface net.openhft.chronicle.wire.ReadMarshallableIllegalStateExceptionpublic String clusterName()
public void writeMarshallable(@NotNull
net.openhft.chronicle.wire.WireOut wire)
writeMarshallable in interface net.openhft.chronicle.wire.WriteMarshallablepublic Collection<HostDetails> hostDetails()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2015. All rights reserved.