Beispiel #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);
 }
Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #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);
 }
 /// <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;
 }