public class ImmutableDruidServer extends Object
Constructor and Description |
---|
ImmutableDruidServer(DruidServerMetadata metadata,
long currSize,
com.google.common.collect.ImmutableMap<String,ImmutableDruidDataSource> dataSources,
com.google.common.collect.ImmutableMap<String,io.druid.timeline.DataSegment> segments) |
Modifier and Type | Method and Description |
---|---|
long |
getCurrSize() |
Iterable<ImmutableDruidDataSource> |
getDataSources() |
String |
getHost() |
long |
getMaxSize() |
DruidServerMetadata |
getMetadata() |
String |
getName() |
int |
getPriority() |
io.druid.timeline.DataSegment |
getSegment(String segmentName) |
Map<String,io.druid.timeline.DataSegment> |
getSegments() |
String |
getTier() |
String |
getType() |
public ImmutableDruidServer(DruidServerMetadata metadata, long currSize, com.google.common.collect.ImmutableMap<String,ImmutableDruidDataSource> dataSources, com.google.common.collect.ImmutableMap<String,io.druid.timeline.DataSegment> segments)
public String getName()
public DruidServerMetadata getMetadata()
public String getHost()
public long getCurrSize()
public long getMaxSize()
public String getType()
public String getTier()
public int getPriority()
public io.druid.timeline.DataSegment getSegment(String segmentName)
public Iterable<ImmutableDruidDataSource> getDataSources()
Copyright © 2011–2015. All rights reserved.