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

View File

@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
/**
* One of possible approaches to terminate Producer-Consumer pattern is using PoisonPill idiom.

View File

@ -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

View File

@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
/**
* Endpoint to publish {@link Message} to queue

View File

@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
/**
* Endpoint to retrieve {@link Message} from queue

View File

@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
/**
* Represents abstraction of channel (or pipe) that bounds {@link Producer} and {@link Consumer}

View File

@ -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

View File

@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
import java.util.Collections;
import java.util.HashMap;

View File

@ -1,4 +1,4 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;

View File

@ -1,7 +1,9 @@
package com.iluwatar;
package com.iluwatar.poisonpill;
import org.junit.Test;
import com.iluwatar.poisonpill.App;
public class AppTest {
@Test