Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockWriterCase ¶
type BlockWriterCase struct { ClusterName string sync.RWMutex // contains filtered or unexported fields }
BlockWriterCase is for concurrent writing blocks.
func NewBlockWriterCase ¶
func NewBlockWriterCase(cfg Config) *BlockWriterCase
NewBlockWriterCase returns the BlockWriterCase.
func (*BlockWriterCase) GetConcurrency ¶
func (c *BlockWriterCase) GetConcurrency() int
func (*BlockWriterCase) Start ¶
func (c *BlockWriterCase) Start(db *sql.DB) error
Start starts to run cases
func (*BlockWriterCase) String ¶
func (c *BlockWriterCase) String() string
String implements fmt.Stringer interface.
Click to show internal directories.
Click to hide internal directories.