Changed package naming across all examples.

This commit is contained in:
Ilkka Seppala
2015-05-31 11:55:18 +03:00
parent 703ebd3e20
commit 8524c75ba6
437 changed files with 1095 additions and 1402 deletions
@@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
/**
* One of possible approaches to terminate Producer-Consumer pattern is using PoisonPill idiom.
@@ -1,6 +1,6 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
import com.iluwatar.Message.Headers;
import com.iluwatar.poisonpill.Message.Headers;
/**
* Class responsible for receiving and handling submitted to the queue messages
@@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
/**
* Endpoint to publish {@link Message} to queue
@@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
/**
* Endpoint to retrieve {@link Message} from queue
@@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
import java.util.Map;
@@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
/**
* Represents abstraction of channel (or pipe) that bounds {@link Producer} and {@link Consumer}
@@ -1,8 +1,8 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
import java.util.Date;
import com.iluwatar.Message.Headers;
import com.iluwatar.poisonpill.Message.Headers;
/**
* Class responsible for producing unit of work that can be expressed as message and submitted to queue
@@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
import java.util.Collections;
import java.util.HashMap;
@@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;