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 ¶
- func ReplicaStateHighestSupportedFlexVersion() int16
- func ReplicaStateLowestSupportedFlexVersion() int16
- type ReplicaState
- func (o *ReplicaState) Clear()
- func (o *ReplicaState) Equal(that *ReplicaState) bool
- func (o *ReplicaState) IsNil() bool
- func (o *ReplicaState) LastCaughtUpTimestamp() int64
- func (o *ReplicaState) LastFetchTimestamp() int64
- func (o *ReplicaState) LogEndOffset() int64
- func (o *ReplicaState) MarshalJSON() ([]byte, error)
- func (o *ReplicaState) Read(buf *bytes.Reader, version int16) error
- func (o *ReplicaState) Release()
- func (o *ReplicaState) ReplicaId() int32
- func (o *ReplicaState) SetDefault()
- func (o *ReplicaState) SetLastCaughtUpTimestamp(val int64)
- func (o *ReplicaState) SetLastFetchTimestamp(val int64)
- func (o *ReplicaState) SetLogEndOffset(val int64)
- func (o *ReplicaState) SetReplicaId(val int32)
- func (o *ReplicaState) SetUnknownTaggedFields(val []fields.RawTaggedField)
- func (o *ReplicaState) SizeInBytes(version int16) (int, error)
- func (o *ReplicaState) String() string
- func (o *ReplicaState) UnknownTaggedFields() []fields.RawTaggedField
- func (o *ReplicaState) Write(buf *typesbytes.SliceWriter, version int16) error
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) 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
Click to show internal directories.
Click to hide internal directories.