Edytuj

Udostępnij za pośrednictwem


SiloMessagingOptions Class

Definition

Specifies global messaging options that are silo related.

public class SiloMessagingOptions : Orleans.Configuration.MessagingOptions
type SiloMessagingOptions = class
    inherit MessagingOptions
Public Class SiloMessagingOptions
Inherits MessagingOptions
Inheritance
SiloMessagingOptions

Constructors

SiloMessagingOptions()

Fields

DEFAULT_BUFFER_POOL_BUFFER_SIZE (Inherited from MessagingOptions)
DEFAULT_BUFFER_POOL_MAX_SIZE (Inherited from MessagingOptions)
DEFAULT_BUFFER_POOL_PREALLOCATION_SIZE (Inherited from MessagingOptions)
DEFAULT_CLIENT_GW_NOTIFICATION_TIMEOUT

The default value for ClientGatewayShutdownNotificationTimeout.

DEFAULT_CLIENT_REGISTRATION_REFRESH

The default value for ClientRegistrationRefresh.

DEFAULT_DROP_EXPIRED_MESSAGES (Inherited from MessagingOptions)
DEFAULT_LARGE_MESSAGE_WARNING_THRESHOLD (Inherited from MessagingOptions)
DEFAULT_MAX_ENQUEUED_REQUESTS_HARD_LIMIT

The default value for MaxEnqueuedRequestsHardLimit.

DEFAULT_MAX_ENQUEUED_REQUESTS_SOFT_LIMIT

The default value for MaxEnqueuedRequestsSoftLimit.

DEFAULT_MAX_ENQUEUED_REQUESTS_STATELESS_WORKER_HARD_LIMIT

The default value for MaxEnqueuedRequestsHardLimit_StatelessWorker.

DEFAULT_MAX_ENQUEUED_REQUESTS_STATELESS_WORKER_SOFT_LIMIT

The default value for MaxEnqueuedRequestsSoftLimit_StatelessWorker.

DEFAULT_MAX_MESSAGE_BODY_SIZE (Inherited from MessagingOptions)
DEFAULT_MAX_MESSAGE_HEADER_SIZE (Inherited from MessagingOptions)
DEFAULT_MAX_REQUEST_PROCESSING_TIME

The default value for MaxRequestProcessingTime.

DEFAULT_PROPAGATE_E2E_ACTIVITY_ID (Inherited from MessagingOptions)
DEFAULT_SHUTDOWN_REROUTE_TIMEOUT

The default value for ShutdownRerouteTimeout.

DEFAULT_WAIT_FOR_MESSAGE_TO_BE_QUEUED_FOR_OUTBOUND_TIME

The default value for WaitForMessageToBeQueuedForOutboundTime.

Properties

AssumeHomogenousSilosForTesting

Gets or sets a value indicating whether it is assumed that all hosts are identical in terms of the grain interfaces and classes which they support.

BufferPoolBufferSize

The size of a buffer in the messaging buffer pool.

(Inherited from MessagingOptions)
BufferPoolMaxSize

The maximum size of the messaging buffer pool.

(Inherited from MessagingOptions)
BufferPoolPreallocationSize

The initial size of the messaging buffer pool that is pre-allocated.

(Inherited from MessagingOptions)
ClientDropTimeout

Gets or sets the period of time a gateway will wait before dropping a disconnected client.

ClientGatewayShutdownNotificationTimeout

Gets or sets the period of time a gateway will wait after notifying connected client before continuing the shutdown process

ClientRegistrationRefresh

Gets or sets the interval in which the list of connected clients is refreshed.

DEFAULT_SHUTDOWN_REROUTE_TIMEOUT
DropExpiredMessages

Gets or sets a value indicating whether messages should be dropped once they expire, that is if it was not delivered to the destination before it has timed out on the sender.

(Inherited from MessagingOptions)
GatewaySenderQueues

Gets or sets the number of parallel queues and attendant threads used by the silo Gateway to send outbound messages (requests, responses, and notifications) to clients that are connected to it. If this attribute is not specified, then System.Environment.ProcessorCount is used.

GrainWorkloadAnalysisPeriod

Gets or sets the period of time between analyzing currently executing activation workloads.

LargeMessageWarningThreshold

The LargeMessageWarningThreshold attribute specifies when to generate a warning trace message for large messages.

(Inherited from MessagingOptions)
MaxEnqueuedRequestsHardLimit

Gets or sets the per grain threshold for pending requests. Requests are rejected when exceeded.

MaxEnqueuedRequestsHardLimit_StatelessWorker

Gets or sets the per grain threshold for pending requests for stateless workers. Requests are rejected when exceeded.

MaxEnqueuedRequestsSoftLimit

Gets or sets the per grain threshold for pending requests. Generated warning when exceeded.

MaxEnqueuedRequestsSoftLimit_StatelessWorker

Gets or sets the per grain threshold for pending requests for stateless workers. Generated warning when exceeded.

MaxForwardCount

Gets or sets the maximal number of times a message is being forwarded from one silo to another. Forwarding is used internally by the runtime as a recovery mechanism when silos fail and the membership is unstable. In such times the messages might not be routed correctly to destination, and runtime attempts to forward such messages a number of times before rejecting them.

MaxMessageBodySize

The maximum size, in bytes, of the body for a message. The runtime will forcibly close the connection if the body size is greater than this value.

(Inherited from MessagingOptions)
MaxMessageHeaderSize

The maximum size, in bytes, of the header for a message. The runtime will forcibly close the connection if the header size is greater than this value.

(Inherited from MessagingOptions)
MaxRequestProcessingTime

Gets or sets the maximum time that a request can take before the activation is reported as "blocked"

MaxResendCount

The MaxResendCount attribute specifies the maximal number of resends of the same message.

(Inherited from MessagingOptions)
PropagateActivityId

Whether Trace.CorrelationManager.ActivityId settings should be propagated into grain calls.

(Inherited from MessagingOptions)
RequestProcessingWarningTime

Gets or sets the period after which a currently executing request is deemed to be slow.

RequestQueueDelayWarningTime

Gets or sets the period after which an enqueued request is deemed to be delayed.

ResendOnTimeout

The ResendOnTimeout attribute specifies whether the message should be automatically resend by the runtime when it times out on the sender. Default is false.

(Inherited from MessagingOptions)
ResponseTimeout

Gets or sets the default timeout before a request is assumed to have failed.

(Inherited from MessagingOptions)
ResponseTimeoutWithDebugger

Gets or sets the effective ResponseTimeout value to use when a debugger is attached.

(Inherited from MessagingOptions)
ShutdownRerouteTimeout

Gets or sets the period of time the silo will wait to reroute queued messages before it continues shutting down.

SiloSenderQueues

Gets or sets the number of parallel queues and attendant threads used by the silo to send outbound messages (requests, responses, and notifications) to other silos. If this attribute is not specified, then System.Environment.ProcessorCount is used.

SystemResponseTimeout

Gets or sets the default timeout before an internal system request is assumed to have failed.

WaitForMessageToBeQueuedForOutboundTime

Gets or sets the time to wait for all queued message sent to OutboundMessageQueue before MessageCenter stop and OutboundMessageQueue stop.

Applies to