E
- The generic type of the elements in the buffer.V
- The generic type of the result of the method call.public class RemoteRunnableBufferImpl<E,V> extends RemoteBufferImpl<E> implements RemoteRunnableBuffer<E,V>
IBlockingBuffer
but whose
methods throw IOException
and are therefore compatible with
Remote
and Exporter.Constructor and Description |
---|
RemoteRunnableBufferImpl(IRunnableBuffer<E> localBuffer,
Future<V> futureProxy) |
Modifier and Type | Method and Description |
---|---|
void |
abort(Throwable cause) |
void |
close() |
Future<V> |
getFuture() |
boolean |
isOpen() |
add, flush, isEmpty, reset, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add
flush, isEmpty, reset, size
public RemoteRunnableBufferImpl(IRunnableBuffer<E> localBuffer, Future<V> futureProxy)
localBuffer
- futureProxy
- public void abort(Throwable cause) throws IOException
abort
in interface RemoteRunnableBuffer<E,V>
IOException
public void close() throws IOException
close
in interface RemoteRunnableBuffer<E,V>
IOException
public boolean isOpen() throws IOException
isOpen
in interface RemoteRunnableBuffer<E,V>
IOException
public Future<V> getFuture() throws IOException
getFuture
in interface RemoteRunnableBuffer<E,V>
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.