public abstract static class ServerView.BaseSegmentCallback extends Object implements ServerView.SegmentCallback
Constructor and Description |
---|
ServerView.BaseSegmentCallback() |
Modifier and Type | Method and Description |
---|---|
ServerView.CallbackAction |
segmentAdded(DruidServerMetadata server,
io.druid.timeline.DataSegment segment)
Called when a segment is added to a server.
|
ServerView.CallbackAction |
segmentRemoved(DruidServerMetadata server,
io.druid.timeline.DataSegment segment)
Called when a segment is removed from a server.
|
ServerView.CallbackAction |
segmentViewInitialized() |
public ServerView.CallbackAction segmentAdded(DruidServerMetadata server, io.druid.timeline.DataSegment segment)
ServerView.SegmentCallback
segmentAdded
in interface ServerView.SegmentCallback
server
- The server that added a segmentsegment
- The segment that was addedpublic ServerView.CallbackAction segmentRemoved(DruidServerMetadata server, io.druid.timeline.DataSegment segment)
ServerView.SegmentCallback
segmentRemoved
in interface ServerView.SegmentCallback
server
- The server that removed a segmentsegment
- The segment that was removedpublic ServerView.CallbackAction segmentViewInitialized()
segmentViewInitialized
in interface ServerView.SegmentCallback
Copyright © 2011–2015. All rights reserved.