Dart.Ssh Namespace > Optimizations Class : ReadBuffers Property |
'Declaration <DefaultValueAttribute(4)> Public Property ReadBuffers As Integer
'Usage Dim instance As Optimizations Dim value As Integer instance.ReadBuffers = value value = instance.ReadBuffers
[DefaultValue(4)] public int ReadBuffers {get; set;}
[DefaultValue(4)] public: __property int get_ReadBuffers(); public: __property void set_ReadBuffers( int value );
[DefaultValue(4)] public: property int ReadBuffers { int get(); void set ( int value); }
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. |
Defaults to 4. This optimization is the maximum amount of 32kb read requests that will be sent to the server at time. When a get operation is started, the size of the request file is queried and the appropriate number of read requests are sent. For example, if a file is less than 32kb in size, then only one read request will be issued. If a file's size can not be retrieved then a number of read requests equal to this property's value will be issued.
Set to 1 to disable read command queuing.
See BlockSize for notes on perfomance.