Documentation ¶
Index ¶
- type AgentQueue
- type CheckpointDocument
- type CheckpointDocumentCheckpoint
- type CheckpointDocumentSnapshot
- type DcpCollectionCreation
- type DcpCollectionDeletion
- type DcpCollectionFlush
- type DcpCollectionModification
- type DcpDeletion
- type DcpExpiration
- type DcpMutation
- type DcpOSOSnapshot
- type DcpScopeCreation
- type DcpScopeDeletion
- type DcpSeqNoAdvanced
- type DcpSnapshotMarker
- type DcpStreamEnd
- type DcpStreamEndContext
- type EmptyEventHandler
- func (h *EmptyEventHandler) AfterRebalanceEnd()
- func (h *EmptyEventHandler) AfterRebalanceStart()
- func (h *EmptyEventHandler) AfterStreamStart()
- func (h *EmptyEventHandler) AfterStreamStop()
- func (h *EmptyEventHandler) BeforeRebalanceEnd()
- func (h *EmptyEventHandler) BeforeRebalanceStart()
- func (h *EmptyEventHandler) BeforeStreamStart()
- func (h *EmptyEventHandler) BeforeStreamStop()
- type EventHandler
- type Identity
- type InternalDcpCollectionCreation
- type InternalDcpCollectionDeletion
- type InternalDcpCollectionFlush
- type InternalDcpCollectionModification
- type InternalDcpDeletion
- type InternalDcpExpiration
- type InternalDcpMutation
- type InternalDcpOSOSnapshot
- type InternalDcpScopeCreation
- type InternalDcpScopeDeletion
- type InternalDcpSeqNoAdvance
- type Listener
- type ListenerArgs
- type ListenerCh
- type ListenerContext
- type ListenerEndCh
- type Offset
- type PersistSeqNo
- type PingResult
- type SetInfoRequest
- type SnapshotMarker
- type VbIDRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentQueue ¶ added in v1.1.29
type CheckpointDocument ¶
type CheckpointDocument struct { Checkpoint *CheckpointDocumentCheckpoint `json:"checkpoint"` BucketUUID string `json:"bucketUuid"` }
func NewEmptyCheckpointDocument ¶
func NewEmptyCheckpointDocument(bucketUUID string) *CheckpointDocument
type CheckpointDocumentCheckpoint ¶
type CheckpointDocumentCheckpoint struct { Snapshot *CheckpointDocumentSnapshot `json:"snapshot"` VbUUID uint64 `json:"vbuuid"` SeqNo uint64 `json:"seqno"` }
type DcpCollectionCreation ¶
type DcpCollectionCreation = InternalDcpCollectionCreation
type DcpCollectionDeletion ¶
type DcpCollectionDeletion = InternalDcpCollectionDeletion
type DcpCollectionFlush ¶
type DcpCollectionFlush = InternalDcpCollectionFlush
type DcpCollectionModification ¶
type DcpCollectionModification = InternalDcpCollectionModification
type DcpDeletion ¶
type DcpDeletion = InternalDcpDeletion
type DcpExpiration ¶
type DcpExpiration = InternalDcpExpiration
type DcpMutation ¶
type DcpMutation = InternalDcpMutation
type DcpOSOSnapshot ¶
type DcpOSOSnapshot = gocbcore.DcpOSOSnapshot
type DcpScopeCreation ¶
type DcpScopeCreation = InternalDcpScopeCreation
type DcpScopeDeletion ¶
type DcpScopeDeletion = InternalDcpScopeDeletion
type DcpSeqNoAdvanced ¶
type DcpSeqNoAdvanced = InternalDcpSeqNoAdvance
type DcpSnapshotMarker ¶
type DcpSnapshotMarker = gocbcore.DcpSnapshotMarker
type DcpStreamEnd ¶
type DcpStreamEnd = gocbcore.DcpStreamEnd
type DcpStreamEndContext ¶ added in v1.1.7
type DcpStreamEndContext struct { Err error Event DcpStreamEnd }
type EmptyEventHandler ¶ added in v0.0.67
type EmptyEventHandler struct{}
func (*EmptyEventHandler) AfterRebalanceEnd ¶ added in v0.0.67
func (h *EmptyEventHandler) AfterRebalanceEnd()
func (*EmptyEventHandler) AfterRebalanceStart ¶ added in v0.0.67
func (h *EmptyEventHandler) AfterRebalanceStart()
func (*EmptyEventHandler) AfterStreamStart ¶ added in v0.0.67
func (h *EmptyEventHandler) AfterStreamStart()
func (*EmptyEventHandler) AfterStreamStop ¶ added in v0.0.67
func (h *EmptyEventHandler) AfterStreamStop()
func (*EmptyEventHandler) BeforeRebalanceEnd ¶ added in v0.0.67
func (h *EmptyEventHandler) BeforeRebalanceEnd()
func (*EmptyEventHandler) BeforeRebalanceStart ¶ added in v0.0.67
func (h *EmptyEventHandler) BeforeRebalanceStart()
func (*EmptyEventHandler) BeforeStreamStart ¶ added in v0.0.67
func (h *EmptyEventHandler) BeforeStreamStart()
func (*EmptyEventHandler) BeforeStreamStop ¶ added in v0.0.67
func (h *EmptyEventHandler) BeforeStreamStop()
type EventHandler ¶ added in v0.0.67
type EventHandler interface { BeforeRebalanceStart() AfterRebalanceStart() BeforeRebalanceEnd() AfterRebalanceEnd() BeforeStreamStart() AfterStreamStart() BeforeStreamStop() AfterStreamStop() }
var DefaultEventHandler EventHandler = &EmptyEventHandler{}
type Identity ¶
func NewIdentityFromStr ¶
type InternalDcpCollectionCreation ¶ added in v1.1.30
type InternalDcpCollectionDeletion ¶ added in v1.1.30
type InternalDcpCollectionFlush ¶ added in v1.1.30
type InternalDcpCollectionModification ¶ added in v1.1.30
type InternalDcpDeletion ¶
type InternalDcpExpiration ¶
type InternalDcpMutation ¶
type InternalDcpMutation struct { EventTime time.Time *gocbcore.DcpMutation Offset *Offset CollectionName string }
func (*InternalDcpMutation) IsCreated ¶
func (i *InternalDcpMutation) IsCreated() bool
type InternalDcpOSOSnapshot ¶ added in v1.1.30
type InternalDcpOSOSnapshot struct { *gocbcore.DcpOSOSnapshot Offset *Offset }
type InternalDcpScopeCreation ¶ added in v1.1.30
type InternalDcpScopeCreation struct { *gocbcore.DcpScopeCreation Offset *Offset }
type InternalDcpScopeDeletion ¶ added in v1.1.30
type InternalDcpScopeDeletion struct { *gocbcore.DcpScopeDeletion Offset *Offset }
type InternalDcpSeqNoAdvance ¶
type InternalDcpSeqNoAdvance struct { *gocbcore.DcpSeqNoAdvanced Offset *Offset }
type Listener ¶
type Listener func(*ListenerContext)
type ListenerArgs ¶
type ListenerArgs struct {
Event interface{}
}
type ListenerCh ¶
type ListenerCh chan ListenerArgs
type ListenerContext ¶
type ListenerContext struct { Commit func() Event interface{} Ack func() }
type ListenerEndCh ¶
type ListenerEndCh chan DcpStreamEndContext
type Offset ¶
type Offset struct { *SnapshotMarker VbUUID gocbcore.VbUUID SeqNo uint64 }
type PersistSeqNo ¶
type PersistSeqNo struct { VbID uint16 SeqNo gocbcore.SeqNo }
type PingResult ¶ added in v1.1.19
type SetInfoRequest ¶ added in v1.1.54
type SnapshotMarker ¶
Click to show internal directories.
Click to hide internal directories.