Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoolMaker ¶
var POOLMaker PoolMaker
Pool factory --------------------------------------------------------
type PoolPerKeys ¶
type PoolSharderFactory_I ¶
type PoolSharderFactory_I interface { AddPoolShardingAdapter(name string, pool_sharder PoolSharder_I) error GetPoolSharder(name string) (PoolSharder_I, error) }
Pool sharder factory
var PoolSharderFactory PoolSharderFactory_I
type PoolSharder_I ¶
type PoolSharder_I interface { InitializeWithWeightedPools(pools []*ShardedPool) error GetPoolPerKey(key *[]byte) (*ShardedPool, error) GetPoolsPerKeys(keys *[][]byte) (map[string]*PoolPerKeys, error) GetInstance() (PoolSharder_I, error) }
type ShardedPool ¶
Pool sharder implementation
Click to show internal directories.
Click to hide internal directories.