Documentation
¶
Index ¶
- type InitiableScheduler
- type Scheduler
- func (s *Scheduler) BootChannelManager(ctx context.Context)
- func (s *Scheduler) BootCluster(ctx context.Context)
- func (s *Scheduler) BootHttpServer(ctx context.Context)
- func (s *Scheduler) BootListener(ctx context.Context, channel channel.Channel) error
- func (s *Scheduler) BootPrioritizer(ctx context.Context)
- func (s *Scheduler) BootProcessor(ctx context.Context, channel channel.Channel)
- func (s *Scheduler) BootRaftManager(ctx context.Context)
- func (s *Scheduler) GetCluster() *raft.Raft
- func (s *Scheduler) GetConfig() config.Config
- func (s *Scheduler) GetDataStorage() *storage.PqStorage
- func (s *Scheduler) GetDispatcher() *dispatcher.Dispatcher
- func (s *Scheduler) GetOutboundPool() *goconcurrentqueue.FIFO
- func (s *Scheduler) Run(ctx context.Context) error
- func (s *Scheduler) WatchCluster(ctx context.Context)
- type StartableScheduler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitiableScheduler ¶ added in v1.1.0
type InitiableScheduler interface { BootHttpServer(ctx context.Context) BootCluster(ctx context.Context) BootProcessor(ctx context.Context, c channel.Channel) BootPrioritizer(ctx context.Context) BootListener(ctx context.Context, c channel.Channel) error BootRaftManager(ctx context.Context) BootChannelManager(ctx context.Context) }
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func (*Scheduler) BootChannelManager ¶ added in v1.5.0
func (*Scheduler) BootCluster ¶ added in v1.3.0
func (*Scheduler) BootHttpServer ¶ added in v1.5.0
func (*Scheduler) BootListener ¶
func (*Scheduler) BootPrioritizer ¶
func (*Scheduler) BootProcessor ¶
func (*Scheduler) BootRaftManager ¶ added in v1.5.0
func (*Scheduler) GetCluster ¶ added in v1.3.0
func (*Scheduler) GetDataStorage ¶
func (*Scheduler) GetDispatcher ¶ added in v1.5.0
func (s *Scheduler) GetDispatcher() *dispatcher.Dispatcher
func (*Scheduler) GetOutboundPool ¶
func (s *Scheduler) GetOutboundPool() *goconcurrentqueue.FIFO