com.hp.hpl.jena.graph.query
Class BufferPipe

java.lang.Object
  extended bycom.hp.hpl.jena.graph.query.BufferPipe
All Implemented Interfaces:
Pipe

public class BufferPipe
extends java.lang.Object
implements Pipe

This class is a pipe between query threads, implemented as a bounded buffer.

Author:
kers

Nested Class Summary
static class BufferPipe.BoundedBufferPutException
          Exception to throw if a put throws an exception.
static class BufferPipe.BoundedBufferTakeException
          Exception to throw if a take throws an exception.
 
Constructor Summary
BufferPipe()
           
 
Method Summary
 void close()
           
 Domain get()
           
 boolean hasNext()
           
 void put(Domain d)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferPipe

public BufferPipe()
Method Detail

put

public void put(Domain d)
Specified by:
put in interface Pipe

close

public void close()
Specified by:
close in interface Pipe

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Pipe

get

public Domain get()
Specified by:
get in interface Pipe


Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.