public static interface ServerView.SegmentCallback
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() |
ServerView.CallbackAction segmentAdded(DruidServerMetadata server, io.druid.timeline.DataSegment segment)
server
- The server that added a segmentsegment
- The segment that was addedServerView.CallbackAction segmentRemoved(DruidServerMetadata server, io.druid.timeline.DataSegment segment)
server
- The server that removed a segmentsegment
- The segment that was removedServerView.CallbackAction segmentViewInitialized()
Copyright © 2011–2015. All rights reserved.