Documentation ¶
Index ¶
Constants ¶
View Source
const ( PriorityNormal = Priority(kvrpcpb.CommandPri_Normal) PriorityLow = Priority(kvrpcpb.CommandPri_Low) PriorityHigh = Priority(kvrpcpb.CommandPri_High) )
Priority value for transaction priority.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Priority ¶
type Priority kvrpcpb.CommandPri
Priority is the priority for tikv to execute a command.
func (Priority) ToPB ¶
func (p Priority) ToPB() kvrpcpb.CommandPri
ToPB converts priority to wire type.
Click to show internal directories.
Click to hide internal directories.