Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
func NewOptions ¶
func NewOptions() *Options
type PipelineState ¶
type PipelineState struct {
// contains filtered or unexported fields
}
func NewPipelineState ¶
func NewPipelineState(ss *StateStore, pipelineID uint64) *PipelineState
func (*PipelineState) Flush ¶ added in v0.0.18
func (ps *PipelineState) Flush() error
func (*PipelineState) GetLastSequence ¶
func (ps *PipelineState) GetLastSequence() uint64
func (*PipelineState) Initialize ¶
func (ps *PipelineState) Initialize() error
func (*PipelineState) UpdateLastSequence ¶
func (ps *PipelineState) UpdateLastSequence(lastSeq uint64) error
type StateStore ¶
type StateStore struct {
// contains filtered or unexported fields
}
func NewStateStore ¶
func NewStateStore(options *Options) *StateStore
func NewStateStoreWithStore ¶ added in v0.0.8
func NewStateStoreWithStore(gravityStore *store.Store, options *Options) *StateStore
func (*StateStore) GetPipelineState ¶
func (ss *StateStore) GetPipelineState(pipelineID uint64) (gravity_subscriber.PipelineState, error)
func (*StateStore) GetPipelines ¶
func (ss *StateStore) GetPipelines() []uint64
func (*StateStore) Initialize ¶
func (ss *StateStore) Initialize() error
Click to show internal directories.
Click to hide internal directories.