IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.automaton
Interface Buffer

All Known Implementing Classes:
Queue

public interface Buffer

A generic interface for a buffer that holds any Java objects.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 java.lang.Object get()
          Get an object from the Buffer
 void put(java.lang.Object obj)
          Put an object into the Buffer
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

get

java.lang.Object get()
                     throws java.lang.InterruptedException
Get an object from the Buffer

Returns:
java.lang.Object
Throws:
java.lang.InterruptedException - Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it using the interrupt method in class Thread

put

void put(java.lang.Object obj)
         throws java.lang.InterruptedException
Put an object into the Buffer

Parameters:
obj - java.lang.Object
Throws:
java.lang.InterruptedException - Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it using the interrupt method in class Thread.

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011