C# 클래스 RavenFS.Client.Shard.DefaultShardResolutionStrategy

상속: IShardResolutionStrategy
파일 보기 프로젝트 열기: hibernating-rhinos/RavenFS 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
ShardIds List

공개 메소드들

메소드 설명
DefaultShardResolutionStrategy ( IEnumerable shardIds, ShardStrategy shardStrategy ) : System
GenerateShardIdFor ( string filename, NameValueCollection metadata ) : string

Generate a shard id for the specified entity

GetShardIdForUpload ( string filename, NameValueCollection metadata ) : ShardResolutionResult
GetShardIdFromFileName ( string filename ) : string
PotentialShardsFor ( ShardRequestData requestData ) : IList

Selects the shard ids appropriate for the specified data.

메소드 상세

DefaultShardResolutionStrategy() 공개 메소드

public DefaultShardResolutionStrategy ( IEnumerable shardIds, ShardStrategy shardStrategy ) : System
shardIds IEnumerable
shardStrategy ShardStrategy
리턴 System

GenerateShardIdFor() 공개 메소드

Generate a shard id for the specified entity
public GenerateShardIdFor ( string filename, NameValueCollection metadata ) : string
filename string
metadata System.Collections.Specialized.NameValueCollection
리턴 string

GetShardIdForUpload() 공개 메소드

public GetShardIdForUpload ( string filename, NameValueCollection metadata ) : ShardResolutionResult
filename string
metadata System.Collections.Specialized.NameValueCollection
리턴 ShardResolutionResult

GetShardIdFromFileName() 공개 메소드

public GetShardIdFromFileName ( string filename ) : string
filename string
리턴 string

PotentialShardsFor() 공개 메소드

Selects the shard ids appropriate for the specified data.
public PotentialShardsFor ( ShardRequestData requestData ) : IList
requestData ShardRequestData
리턴 IList

프로퍼티 상세

ShardIds 보호되어 있는 프로퍼티

protected List ShardIds
리턴 List