コード例 #1
0
		public void Send(BulkInsertChangeNotification bulkInsertChangeNotification)
		{
			var onOnBulkInsertChangeNotification = OnBulkInsertChangeNotification;
			if (onOnBulkInsertChangeNotification != null)
				onOnBulkInsertChangeNotification(bulkInsertChangeNotification);

			Send((DocumentChangeNotification)bulkInsertChangeNotification);
		}
コード例 #2
0
ファイル: TransportState.cs プロジェクト: 925coder/ravendb
		public void Send(BulkInsertChangeNotification bulkInsertChangeNotification)
		{
			OnBulkInsertChangeNotification(this, bulkInsertChangeNotification);
			foreach (var connectionState in connections)
			{
				connectionState.Value.Send(bulkInsertChangeNotification);
			}
		}
コード例 #3
0
ファイル: ConnectionState.cs プロジェクト: 925coder/ravendb
		public void Send(BulkInsertChangeNotification bulkInsertChangeNotification)
		{
			var value = new { Value = bulkInsertChangeNotification, Type = "BulkInsertChangeNotification" };

			if (matchingBulkInserts.Contains(bulkInsertChangeNotification.OperationId.ToString()) == false)
				return;

			Enqueue(value);
		}
コード例 #4
0
 public void RaiseNotifications(BulkInsertChangeNotification obj)
 {
     Database.TransportState.Send(obj);
 }
コード例 #5
0
ファイル: ConnectionState.cs プロジェクト: jrusbatch/ravendb
		public void Send(BulkInsertChangeNotification bulkInsertChangeNotification)
		{
		    if (!matchingBulkInserts.Contains(string.Empty) && 
                !matchingBulkInserts.Contains(bulkInsertChangeNotification.OperationId.ToString())) 
                return;
		    Enqueue(new { Value = bulkInsertChangeNotification, Type = "BulkInsertChangeNotification" });
		}