Ejemplo n.º 1
0
 /// <summary>
 /// Validate the default bundler configuration.
 /// </summary>
 /// <param name="bundler">The bundler.
 /// </param>
 public static void validateDefaultBundler(AbstractBundler bundler)
 {
     Assert.AreEqual(10, bundler.SizeThreshold); // preferred-size
     Assert.AreEqual(1, bundler.DelayMillis);
     Assert.AreEqual(4, bundler.ThreadThreshold);
     Assert.IsFalse(bundler.AllowAutoAdjust);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="bundler">
 /// The bundler the operations are performed on.
 /// </param>
 public Bundle(AbstractBundler bundler)
     : base(bundler)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="bundler">
 /// The Bundler the bundle operates on.
 /// </param>
 protected Bundle(AbstractBundler bundler)
 {
     m_status = STATUS_OPEN;
     Bundler  = bundler;
 }