public class BalancerSegmentHolder extends Object
Constructor and Description |
---|
BalancerSegmentHolder(ImmutableDruidServer fromServer,
io.druid.timeline.DataSegment segment) |
Modifier and Type | Method and Description |
---|---|
ImmutableDruidServer |
getFromServer() |
int |
getLifetime() |
io.druid.timeline.DataSegment |
getSegment() |
void |
reduceLifetime() |
public BalancerSegmentHolder(ImmutableDruidServer fromServer, io.druid.timeline.DataSegment segment)
public ImmutableDruidServer getFromServer()
public io.druid.timeline.DataSegment getSegment()
public int getLifetime()
public void reduceLifetime()
Copyright © 2011–2015. All rights reserved.