com.bigdata.service.proxy
Interface RemoteRunnableBuffer<E,V>

Type Parameters:
E - The generic type of the elements in the buffer.
V - The generic type of the result of the method call.
All Superinterfaces:
Remote, RemoteBuffer<E>
All Known Implementing Classes:
RemoteRunnableBufferImpl

public interface RemoteRunnableBuffer<E,V>
extends RemoteBuffer<E>

Remote interface declaring the API of IRunnableBuffer but also declaring that each methods throws IOException in order to be compatible with Remote and Exporter. Of course, this means that this interface can not extend IRunnableBuffer!

Version:
$Id: RemoteRunnableBuffer.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Method Summary
 void abort(Throwable cause)
           
 void add(E e)
           
 void close()
           
 Future<V> getFuture()
           
 boolean isOpen()
           
 
Methods inherited from interface com.bigdata.service.proxy.RemoteBuffer
flush, isEmpty, reset, size
 

Method Detail

add

void add(E e)
         throws IOException
Specified by:
add in interface RemoteBuffer<E>
Throws:
IOException

isOpen

boolean isOpen()
               throws IOException
Throws:
IOException

close

void close()
           throws IOException
Throws:
IOException

abort

void abort(Throwable cause)
           throws IOException
Throws:
IOException

getFuture

Future<V> getFuture()
                    throws IOException
Throws:
IOException


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.