Esempio n. 1
0
 /// <summary>
 /// Sets a custom compressor to be used for the compression type.
 /// If specified, the compression type is mandatory.
 /// If not specified the driver default compressor will be use for the compression type.
 /// </summary>
 /// <param name="compressor">Implementation of IFrameCompressor</param>
 public Builder WithCustomCompressor(IFrameCompressor compressor)
 {
     _customCompressor = compressor;
     return(this);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets a custom compressor to be used for the compression type.
 /// If specified, the compression type is mandatory.
 /// If not specified the driver default compressor will be use for the compression type.
 /// </summary>
 /// <param name="compressor">Implementation of IFrameCompressor</param>
 public ProtocolOptions SetCustomCompressor(IFrameCompressor compressor)
 {
     _compressor = compressor;
     return(this);
 }
 /// <summary>
 /// Sets a custom compressor to be used for the compression type.
 /// If specified, the compression type is mandatory.
 /// If not specified the driver default compressor will be use for the compression type.
 /// </summary>
 /// <param name="compressor">Implementation of IFrameCompressor</param>
 public new DseClusterBuilder WithCustomCompressor(IFrameCompressor compressor)
 {
     base.WithCustomCompressor(compressor);
     return this;
 }
Esempio n. 4
0
 /// <summary>
 /// Sets a custom compressor to be used for the compression type.
 /// If specified, the compression type is mandatory.
 /// If not specified the driver default compressor will be use for the compression type.
 /// </summary>
 /// <param name="compressor">Implementation of IFrameCompressor</param>
 public Builder WithCustomCompressor(IFrameCompressor compressor)
 {
     _customCompressor = compressor;
     return this;
 }
Esempio n. 5
0
 /// <summary>
 /// Sets a custom compressor to be used for the compression type.
 /// If specified, the compression type is mandatory.
 /// If not specified the driver default compressor will be use for the compression type.
 /// </summary>
 /// <param name="compressor">Implementation of IFrameCompressor</param>
 public new DseClusterBuilder WithCustomCompressor(IFrameCompressor compressor)
 {
     base.WithCustomCompressor(compressor);
     return(this);
 }
Esempio n. 6
0
 /// <summary>
 /// Sets a custom compressor to be used for the compression type.
 /// If specified, the compression type is mandatory.
 /// If not specified the driver default compressor will be use for the compression type.
 /// </summary>
 /// <param name="compressor">Implementation of IFrameCompressor</param>
 public ProtocolOptions SetCustomCompressor(IFrameCompressor compressor)
 {
     _compressor = compressor;
     return this;
 }