C# 클래스 BuildXL.Cache.ContentStore.Distributed.NuCache.RedisGlobalStore

상속: StartupShutdownSlimBase, IGlobalLocationStore
파일 보기 프로젝트 열기: microsoft/BuildXL

Private Properties

프로퍼티 타입 설명
GetRedisKey string
RedisGlobalStore System
RegisterLocationAsync Task
SetLocationBitAndExpireAsync Task

공개 메소드들

메소드 설명
GetBulkAsync ( OperationContext context, IReadOnlyList contentHashes ) : Task>>
GetCounters ( OperationContext context ) : CounterSet
HeartbeatAsync ( OperationContext context, HeartbeatMachineRequest request ) : Task>
RegisterLocationAsync ( OperationContext context, BuildXL.Cache.ContentStore.Distributed.NuCache.MachineId machineId, IReadOnlyList contentHashes, bool touch ) : ValueTask
RegisterMachineAsync ( OperationContext context, MachineLocation machineLocation ) : Task>

비공개 메소드들

메소드 설명
GetRedisKey ( BuildXL.Cache.ContentStore.Distributed.NuCache.ShortHash hash ) : string
RedisGlobalStore ( IClock clock, RedisContentLocationStoreConfiguration configuration, RedisDatabaseAdapter primaryRedisDb, RedisDatabaseAdapter secondaryRedisDb, RedisDatabaseAdapter primaryRedisBlobDb, RedisDatabaseAdapter secondaryRedisBlobDb, IMasterElectionMechanism masterElectionMechanism ) : System
RegisterLocationAsync ( OperationContext context, IReadOnlyList contentHashes, BuildXL.Cache.ContentStore.Distributed.NuCache.MachineId machineId, string caller = null ) : Task
SetLocationBitAndExpireAsync ( OperationContext context, IBatch batch, RedisKey key, BuildXL.Cache.ContentStore.Distributed.NuCache.ShortHashWithSize hash, BuildXL.Cache.ContentStore.Distributed.NuCache.MachineId machineId ) : Task

메소드 상세

GetBulkAsync() 공개 메소드

public GetBulkAsync ( OperationContext context, IReadOnlyList contentHashes ) : Task>>
context OperationContext
contentHashes IReadOnlyList
리턴 Task>>

GetCounters() 공개 메소드

public GetCounters ( OperationContext context ) : CounterSet
context OperationContext
리턴 CounterSet

HeartbeatAsync() 공개 메소드

public HeartbeatAsync ( OperationContext context, HeartbeatMachineRequest request ) : Task>
context OperationContext
request HeartbeatMachineRequest
리턴 Task>

RegisterLocationAsync() 공개 메소드

public RegisterLocationAsync ( OperationContext context, BuildXL.Cache.ContentStore.Distributed.NuCache.MachineId machineId, IReadOnlyList contentHashes, bool touch ) : ValueTask
context OperationContext
machineId BuildXL.Cache.ContentStore.Distributed.NuCache.MachineId
contentHashes IReadOnlyList
touch bool
리턴 ValueTask

RegisterMachineAsync() 공개 메소드

public RegisterMachineAsync ( OperationContext context, MachineLocation machineLocation ) : Task>
context OperationContext
machineLocation MachineLocation
리턴 Task>