common

package
v0.0.0-...-d5e11c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright (c) 2023 Cisco and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplicaStateHighestSupportedFlexVersion

func ReplicaStateHighestSupportedFlexVersion() int16

func ReplicaStateLowestSupportedFlexVersion

func ReplicaStateLowestSupportedFlexVersion() int16

Types

type ReplicaState

type ReplicaState struct {
	// contains filtered or unexported fields
}

func ReplicaStateDefault

func ReplicaStateDefault() ReplicaState

func (*ReplicaState) Clear

func (o *ReplicaState) Clear()

func (*ReplicaState) Equal

func (o *ReplicaState) Equal(that *ReplicaState) bool

func (*ReplicaState) IsNil

func (o *ReplicaState) IsNil() bool

func (*ReplicaState) LastCaughtUpTimestamp

func (o *ReplicaState) LastCaughtUpTimestamp() int64

func (*ReplicaState) LastFetchTimestamp

func (o *ReplicaState) LastFetchTimestamp() int64

func (*ReplicaState) LogEndOffset

func (o *ReplicaState) LogEndOffset() int64

func (*ReplicaState) MarshalJSON

func (o *ReplicaState) MarshalJSON() ([]byte, error)

func (*ReplicaState) Read

func (o *ReplicaState) Read(buf *bytes.Reader, version int16) error

func (*ReplicaState) Release

func (o *ReplicaState) Release()

Release releases the dynamically allocated fields of this object by returning then to object pools

func (*ReplicaState) ReplicaId

func (o *ReplicaState) ReplicaId() int32

func (*ReplicaState) SetDefault

func (o *ReplicaState) SetDefault()

func (*ReplicaState) SetLastCaughtUpTimestamp

func (o *ReplicaState) SetLastCaughtUpTimestamp(val int64)

func (*ReplicaState) SetLastFetchTimestamp

func (o *ReplicaState) SetLastFetchTimestamp(val int64)

func (*ReplicaState) SetLogEndOffset

func (o *ReplicaState) SetLogEndOffset(val int64)

func (*ReplicaState) SetReplicaId

func (o *ReplicaState) SetReplicaId(val int32)

func (*ReplicaState) SetUnknownTaggedFields

func (o *ReplicaState) SetUnknownTaggedFields(val []fields.RawTaggedField)

func (*ReplicaState) SizeInBytes

func (o *ReplicaState) SizeInBytes(version int16) (int, error)

SizeInBytes returns the size of this data structure in bytes when it's serialized

func (*ReplicaState) String

func (o *ReplicaState) String() string

func (*ReplicaState) UnknownTaggedFields

func (o *ReplicaState) UnknownTaggedFields() []fields.RawTaggedField

func (*ReplicaState) Write

func (o *ReplicaState) Write(buf *typesbytes.SliceWriter, version int16) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL