Class DruidServerMetadata
java.lang.Object
org.apache.druid.server.coordination.DruidServerMetadata
-
Constructor Summary
ConstructorsConstructorDescriptionDruidServerMetadata(String name, String hostAndPort, String hostAndTlsPort, long maxSize, ServerType type, String tier, int priority) -
Method Summary
-
Constructor Details
-
DruidServerMetadata
public DruidServerMetadata(String name, @Nullable String hostAndPort, @Nullable String hostAndTlsPort, long maxSize, ServerType type, String tier, int priority)
-
-
Method Details
-
getName
-
getHost
-
getHostAndPort
-
getHostAndTlsPort
-
getMaxSize
public long getMaxSize() -
getTier
-
getType
-
getPriority
public int getPriority() -
isSegmentReplicationTarget
public boolean isSegmentReplicationTarget() -
isSegmentBroadcastTarget
public boolean isSegmentBroadcastTarget() -
isSegmentReplicationOrBroadcastTarget
public boolean isSegmentReplicationOrBroadcastTarget() -
equals
-
hashCode
public int hashCode() -
toString
-