C# Class ConsoleApplication1.BiasedShardResolutionStrategy

Inheritance: DefaultShardResolutionStrategy
Mostrar archivo Open project: ayende/ravendb-stockholm

Public Methods

Method Description
BiasedShardResolutionStrategy ( IEnumerable shardIds, ShardStrategy shardStrategy ) : System
GenerateShardIdFor ( object entity ) : string

Method Details

BiasedShardResolutionStrategy() public method

public BiasedShardResolutionStrategy ( IEnumerable shardIds, ShardStrategy shardStrategy ) : System
shardIds IEnumerable
shardStrategy ShardStrategy
return System

GenerateShardIdFor() public method

public GenerateShardIdFor ( object entity ) : string
entity object
return string