Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FDBPartitionsPool []*FDBWorker = make([]*FDBWorker, 256)
Functions ¶
func ReadTransact ¶
func ReadTransact(shardingKey []byte, tx func(tr fdb.ReadTransaction) (interface{}, error)) (interface{}, error)
Types ¶
type FDBWorker ¶
type FDBWorker struct { Concurrency int // contains filtered or unexported fields }
func NewFDBWorker ¶
func (*FDBWorker) ShardReadTransact ¶
func (w *FDBWorker) ShardReadTransact(tx func(tr fdb.ReadTransaction) (interface{}, error)) (interface{}, error)
func (*FDBWorker) ShardTransact ¶
func (w *FDBWorker) ShardTransact(tx func(tr fdb.Transaction) (interface{}, error)) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.