com.rhi.architecture.parc
Interface Consumer

All Known Subinterfaces:
Channel
All Known Implementing Classes:
AbstractChannel

public interface Consumer

Supplier interface is used to store items. The Channel & Adapter classes are the major implementations of this Interface. Credits: (1) Doug Lea's concurrency package. (2) Bundle Routing Architecture developed for Iridium.

Since:
1.0
Author:
Pete McKinstry

Method Summary
 void push(java.util.Collection c)
          Place a collection of items in the channel, possibly waiting indefinitely until it can be accepted.
 

Method Detail

push

public void push(java.util.Collection c)
          throws ProcessingException
Place a collection of items in the channel, possibly waiting indefinitely until it can be accepted. Blocks until object is stored.

Parameters:
c - record set to be pushed into the channel.
Throws:
ProcessingException - error placing records into the channel.
Since:
1.0


Copyright © 2002-2004 Robert Half International. All Rights Reserved.