C# Class BuildXL.Cache.ContentStore.Distributed.NuCache.AzureBlobStorageMasterElectionMechanism

Inheritance: StartupShutdownComponentBase, IMasterElectionMechanism
Afficher le fichier Open project: microsoft/BuildXL

Méthodes publiques

Méthode Description
AzureBlobStorageMasterElectionMechanism ( AzureBlobStorageMasterElectionMechanismConfiguration configuration, MachineLocation primaryMachineLocation, IClock? clock = null ) : System
GetRoleAsync ( BuildXL.Cache.ContentStore.Tracing.Internal.OperationContext context ) : Task>
ReleaseRoleIfNecessaryAsync ( BuildXL.Cache.ContentStore.Tracing.Internal.OperationContext context, bool shuttingDown = false ) : Task>

Method Details

AzureBlobStorageMasterElectionMechanism() public méthode

public AzureBlobStorageMasterElectionMechanism ( AzureBlobStorageMasterElectionMechanismConfiguration configuration, MachineLocation primaryMachineLocation, IClock? clock = null ) : System
configuration AzureBlobStorageMasterElectionMechanismConfiguration
primaryMachineLocation MachineLocation
clock IClock?
Résultat System

GetRoleAsync() public méthode

public GetRoleAsync ( BuildXL.Cache.ContentStore.Tracing.Internal.OperationContext context ) : Task>
context BuildXL.Cache.ContentStore.Tracing.Internal.OperationContext
Résultat Task>

ReleaseRoleIfNecessaryAsync() public méthode

public ReleaseRoleIfNecessaryAsync ( BuildXL.Cache.ContentStore.Tracing.Internal.OperationContext context, bool shuttingDown = false ) : Task>
context BuildXL.Cache.ContentStore.Tracing.Internal.OperationContext
shuttingDown bool
Résultat Task>