C# Class BuildXL.Cache.ContentStore.Service.ServiceConfiguration

Datei anzeigen Open project: microsoft/BuildXL Class Usage Examples

Private Properties

Property Type Description
Initialize void
OnDeserialized void

Public Methods

Method Description
GetCommandLineArgs ( LocalServerConfiguration? localContentServerConfiguration = null, string? scenario = null, bool logAutoFlush = false ) : string

Create the command line arguments to match this configuration.

GetVerb ( ) : string

Gets the verb on ContentStoreApp.exe to use.

ServiceConfiguration ( IDictionary namedCacheRootsRaw, AbsolutePath dataRootPath, uint gracefulShutdownSeconds, int grpcPort, string? grpcPortFileName = null ) : System

Initializes a new instance of the ServiceConfiguration class.

ServiceConfiguration ( IDictionary namedCacheRoots, AbsolutePath? dataRootPath, uint gracefulShutdownSeconds, int grpcPort, string? grpcPortFileName = null, int? bufferSizeForGrpcCopies = null, int? proactivePushCountLimit = null, TimeSpan? logIncrementalStatsInterval = null, TimeSpan? logMachineStatsInterval = null, string[]? logIncrementalStatsCounterNames = null, TimeSpan? asyncSessionShutdownTimeout = null ) : System

Initializes a new instance of the ServiceConfiguration class.

ToString ( ) : string

Private Methods

Method Description
Initialize ( ) : void
OnDeserialized ( StreamingContext context ) : void

Method Details

GetCommandLineArgs() public method

Create the command line arguments to match this configuration.
public GetCommandLineArgs ( LocalServerConfiguration? localContentServerConfiguration = null, string? scenario = null, bool logAutoFlush = false ) : string
localContentServerConfiguration LocalServerConfiguration?
scenario string?
logAutoFlush bool
return string

GetVerb() public method

Gets the verb on ContentStoreApp.exe to use.
public GetVerb ( ) : string
return string

ServiceConfiguration() public method

Initializes a new instance of the ServiceConfiguration class.
public ServiceConfiguration ( IDictionary namedCacheRootsRaw, AbsolutePath dataRootPath, uint gracefulShutdownSeconds, int grpcPort, string? grpcPortFileName = null ) : System
namedCacheRootsRaw IDictionary
dataRootPath AbsolutePath
gracefulShutdownSeconds uint
grpcPort int
grpcPortFileName string?
return System

ServiceConfiguration() public method

Initializes a new instance of the ServiceConfiguration class.
public ServiceConfiguration ( IDictionary namedCacheRoots, AbsolutePath? dataRootPath, uint gracefulShutdownSeconds, int grpcPort, string? grpcPortFileName = null, int? bufferSizeForGrpcCopies = null, int? proactivePushCountLimit = null, TimeSpan? logIncrementalStatsInterval = null, TimeSpan? logMachineStatsInterval = null, string[]? logIncrementalStatsCounterNames = null, TimeSpan? asyncSessionShutdownTimeout = null ) : System
namedCacheRoots IDictionary
dataRootPath AbsolutePath?
gracefulShutdownSeconds uint
grpcPort int
grpcPortFileName string?
bufferSizeForGrpcCopies int?
proactivePushCountLimit int?
logIncrementalStatsInterval TimeSpan?
logMachineStatsInterval TimeSpan?
logIncrementalStatsCounterNames string[]?
asyncSessionShutdownTimeout TimeSpan?
return System

ToString() public method

public ToString ( ) : string
return string