示例#1
0
 public override void shareFreeList(BlockRevQueue q)
 {
     _generator.shareFreeList(q);
 }
示例#2
0
 public override void shareFreeList(BlockRevQueue q)
 {
     source.shareFreeList(q);
 }
示例#3
0
 public override void shareFreeList(BlockRevQueue q)
 {
     q.shareFreeList(_held);
 }
示例#4
0
 /**
  * Reconfigure this queue to share the same free list as another.
  * <p>
  * Multiple revision queues can be connected to the same free list, making
  * it less expensive for applications to shuttle commits between them. This
  * method arranges for the receiver to take from / return to the same free
  * list as the supplied queue.
  * <p>
  * Free lists are not thread-safe. Applications must ensure that all queues
  * sharing the same free list are doing so from only a single thread.
  *
  * @param q
  *            the other queue we will steal entries from.
  */
 public void shareFreeList(BlockRevQueue q)
 {
     free = q.free;
 }
 public override void shareFreeList(BlockRevQueue q)
 {
     q.shareFreeList(_pending);
 }
示例#6
0
 public override void shareFreeList(BlockRevQueue q)
 {
     q.shareFreeList(pending);
 }
示例#7
0
 /**
  * Connect the supplied queue to this generator's own free list (if any).
  *
  * @param q
  *            another FIFO queue that wants to share our queue's free list.
  */
 public virtual void shareFreeList(BlockRevQueue q)
 {
     // Do nothing by default.
 }
示例#8
0
        /// <summary>
        /// Reconfigure this queue to share the same free list as another.
		/// <para />
		/// Multiple revision queues can be connected to the same free list, making
		/// it less expensive for applications to shuttle commits between them. This
		/// method arranges for the receiver to take from / return to the same free
		/// list as the supplied queue.
		/// <para />
		/// Free lists are not thread-safe. Applications must ensure that all queues
		/// sharing the same free list are doing so from only a single thread.
        /// </summary>
		/// <param name="q">the other queue we will steal entries from.</param>
        public override void shareFreeList(BlockRevQueue q)
        {
            _free = q._free;
        }
示例#9
0
 public override void shareFreeList(BlockRevQueue q)
 {
     _source.shareFreeList(q);
 }
示例#10
0
 /// <summary>
 /// Reconfigure this queue to share the same free list as another.
 /// <para />
 /// Multiple revision queues can be connected to the same free list, making
 /// it less expensive for applications to shuttle commits between them. This
 /// method arranges for the receiver to take from / return to the same free
 /// list as the supplied queue.
 /// <para />
 /// Free lists are not thread-safe. Applications must ensure that all queues
 /// sharing the same free list are doing so from only a single thread.
 /// </summary>
 /// <param name="q">the other queue we will steal entries from.</param>
 public override void shareFreeList(BlockRevQueue q)
 {
     _free = q._free;
 }