Uses of Interface
org.glassfish.grizzly.GrizzlyFuture

Packages that use GrizzlyFuture
org.glassfish.grizzly   
org.glassfish.grizzly.asyncqueue   
org.glassfish.grizzly.filterchain   
org.glassfish.grizzly.impl   
org.glassfish.grizzly.nio   
org.glassfish.grizzly.nio.tmpselectors   
org.glassfish.grizzly.nio.transport   
org.glassfish.grizzly.streams   
 

Uses of GrizzlyFuture in org.glassfish.grizzly
 

Methods in org.glassfish.grizzly that return GrizzlyFuture
 GrizzlyFuture Connection.close()
          Close the Connection
 GrizzlyFuture Closeable.close()
           
 GrizzlyFuture<Connection> AbstractSocketConnectorHandler.connect(SocketAddress remoteAddress)
           
 GrizzlyFuture<Connection> AbstractSocketConnectorHandler.connect(SocketAddress remoteAddress, CompletionHandler<Connection> completionHandler)
           
 GrizzlyFuture<Connection> AbstractSocketConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress)
           
abstract  GrizzlyFuture<Connection> AbstractSocketConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler)
           
 GrizzlyFuture<Connection> AbstractSocketConnectorHandler.connect(String host, int port)
           
<M> GrizzlyFuture<ReadResult<M,L>>
Readable.read()
          Method reads data.
<M> GrizzlyFuture<ReadResult<M,L>>
Readable.read(CompletionHandler<ReadResult<M,L>> completionHandler)
           
 GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection connection)
          Method reads data.
 GrizzlyFuture<ReadResult<Buffer,L>> Reader.read(Connection connection)
          Method reads data.
 GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection connection, Buffer buffer)
          Method reads data to the buffer.
 GrizzlyFuture<ReadResult<Buffer,L>> Reader.read(Connection connection, Buffer buffer)
          Method reads data to the buffer.
 GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler)
          Method reads data to the buffer.
 GrizzlyFuture<ReadResult<Buffer,L>> Reader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler)
          Method reads data to the buffer.
 GrizzlyFuture<ReadResult<Buffer,L>> Reader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler, Interceptor<ReadResult> interceptor)
          Method reads data to the buffer.
 GrizzlyFuture StandaloneProcessor.read(Connection connection, CompletionHandler completionHandler)
           
 GrizzlyFuture<ReadResult> Processor.read(Connection connection, CompletionHandler<ReadResult> completionHandler)
           
 GrizzlyFuture<WriteResult<Buffer,L>> Writer.write(Connection connection, Buffer buffer)
          Method writes the buffer.
 GrizzlyFuture<WriteResult<Buffer,L>> AbstractWriter.write(Connection connection, Buffer buffer)
          Method writes the buffer.
 GrizzlyFuture<WriteResult<Buffer,L>> Writer.write(Connection connection, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler)
          Method writes the buffer.
 GrizzlyFuture<WriteResult<Buffer,L>> AbstractWriter.write(Connection connection, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler)
          Method writes the buffer.
 GrizzlyFuture<WriteResult<Buffer,L>> Writer.write(Connection connection, L dstAddress, Buffer buffer)
          Method writes the buffer to the specific address.
 GrizzlyFuture<WriteResult<Buffer,L>> AbstractWriter.write(Connection connection, L dstAddress, Buffer buffer)
          Method writes the buffer to the specific address.
 GrizzlyFuture<WriteResult<Buffer,L>> Writer.write(Connection connection, L dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler)
          Method writes the buffer to the specific address.
 GrizzlyFuture<WriteResult<Buffer,L>> AbstractWriter.write(Connection connection, L dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler)
          Method writes the buffer to the specific address.
 GrizzlyFuture<WriteResult<Buffer,L>> Writer.write(Connection connection, L dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler, Interceptor<WriteResult<Buffer,L>> interceptor)
          Method writes the buffer to the specific address.
 GrizzlyFuture StandaloneProcessor.write(Connection connection, Object dstAddress, Object message, CompletionHandler completionHandler)
           
 GrizzlyFuture<WriteResult> Processor.write(Connection connection, Object dstAddress, Object message, CompletionHandler<WriteResult> completionHandler)
           
<M> GrizzlyFuture<WriteResult<M,L>>
Writable.write(L dstAddress, M message, CompletionHandler<WriteResult<M,L>> completionHandler)
          Method writes the buffer to the specific address.
<M> GrizzlyFuture<WriteResult<M,L>>
Writable.write(M message)
          Method writes the buffer.
<M> GrizzlyFuture<WriteResult<M,L>>
Writable.write(M message, CompletionHandler<WriteResult<M,L>> completionHandler)
          Method writes the buffer.
 

Uses of GrizzlyFuture in org.glassfish.grizzly.asyncqueue
 

Methods in org.glassfish.grizzly.asyncqueue that return GrizzlyFuture
 GrizzlyFuture<WriteResult<Buffer,SocketAddress>> AsyncQueueWriter.write(Connection connection, SocketAddress dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult<Buffer,SocketAddress>> interceptor, MessageCloner<Buffer> cloner)
          Method writes the Buffer to the specific address.
 

Uses of GrizzlyFuture in org.glassfish.grizzly.filterchain
 

Methods in org.glassfish.grizzly.filterchain that return GrizzlyFuture
 GrizzlyFuture<FilterChainContext> FilterChain.fireEventDownstream(Connection connection, FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler)
           
 GrizzlyFuture<FilterChainContext> DefaultFilterChain.fireEventDownstream(Connection connection, FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler)
           
 GrizzlyFuture<FilterChainContext> FilterChain.fireEventUpstream(Connection connection, FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler)
           
 GrizzlyFuture<FilterChainContext> DefaultFilterChain.fireEventUpstream(Connection connection, FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler)
           
<M> GrizzlyFuture<WriteResult>
FilterChain.flush(Connection connection, CompletionHandler<WriteResult> completionHandler)
           
<M> GrizzlyFuture<WriteResult>
DefaultFilterChain.flush(Connection connection, CompletionHandler<WriteResult> completionHandler)
           
 GrizzlyFuture<ReadResult> DefaultFilterChain.read(Connection connection, CompletionHandler completionHandler)
           
 GrizzlyFuture<WriteResult> DefaultFilterChain.write(Connection connection, Object dstAddress, Object message, CompletionHandler completionHandler)
           
 

Uses of GrizzlyFuture in org.glassfish.grizzly.impl
 

Subinterfaces of GrizzlyFuture in org.glassfish.grizzly.impl
 interface FutureImpl<R>
          Future interface, which has full control over the state.
 

Classes in org.glassfish.grizzly.impl that implement GrizzlyFuture
 class ReadyFutureImpl<R>
          Future implementation with the specific unmodifiable result.
 class SafeFutureImpl<R>
          Safe FutureImpl implementation.
 class UnsafeFutureImpl<R>
          Simple thread-unsafe Future implementation.
 

Uses of GrizzlyFuture in org.glassfish.grizzly.nio
 

Methods in org.glassfish.grizzly.nio that return GrizzlyFuture
 GrizzlyFuture NIOConnection.close()
           
 GrizzlyFuture<RegisterChannelResult> DefaultSelectorHandler.deregisterChannelAsync(SelectorRunner selectorRunner, SelectableChannel channel, CompletionHandler<RegisterChannelResult> completionHandler)
           
 GrizzlyFuture<RegisterChannelResult> SelectorHandler.deregisterChannelAsync(SelectorRunner selectorRunner, SelectableChannel channel, CompletionHandler<RegisterChannelResult> completionHandler)
          Deregister the channel from the SelectorRunner's Selector.
 GrizzlyFuture<Runnable> DefaultSelectorHandler.executeInSelectorThread(SelectorRunner selectorRunner, Runnable runnableTask, CompletionHandler<Runnable> completionHandler)
           
 GrizzlyFuture<Runnable> SelectorHandler.executeInSelectorThread(SelectorRunner selectorRunner, Runnable runnableTask, CompletionHandler<Runnable> completionHandler)
           
<M> GrizzlyFuture<ReadResult<M,SocketAddress>>
NIOConnection.read()
           
<M> GrizzlyFuture<ReadResult<M,SocketAddress>>
NIOConnection.read(CompletionHandler<ReadResult<M,SocketAddress>> completionHandler)
           
 GrizzlyFuture<ReadResult<Buffer,SocketAddress>> AbstractNIOAsyncQueueReader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor)
          Method reads data to the buffer.
 GrizzlyFuture<RegisterChannelResult> NIOChannelDistributor.registerChannelAsync(SelectableChannel channel)
           
 GrizzlyFuture<RegisterChannelResult> AbstractNIOConnectionDistributor.registerChannelAsync(SelectableChannel channel)
           
 GrizzlyFuture<RegisterChannelResult> NIOChannelDistributor.registerChannelAsync(SelectableChannel channel, int interestOps)
           
 GrizzlyFuture<RegisterChannelResult> AbstractNIOConnectionDistributor.registerChannelAsync(SelectableChannel channel, int interestOps)
           
 GrizzlyFuture<RegisterChannelResult> NIOChannelDistributor.registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment)
           
 GrizzlyFuture<RegisterChannelResult> AbstractNIOConnectionDistributor.registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment)
           
 GrizzlyFuture<RegisterChannelResult> NIOChannelDistributor.registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
           
 GrizzlyFuture<RegisterChannelResult> RoundRobinConnectionDistributor.registerChannelAsync(SelectableChannel channel, int interestOps, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
           
 GrizzlyFuture<RegisterChannelResult> DefaultSelectorHandler.registerChannelAsync(SelectorRunner selectorRunner, SelectableChannel channel, int interest, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
           
 GrizzlyFuture<RegisterChannelResult> SelectorHandler.registerChannelAsync(SelectorRunner selectorRunner, SelectableChannel channel, int interest, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
           
 GrizzlyFuture<WriteResult<Buffer,SocketAddress>> AbstractNIOAsyncQueueWriter.write(Connection connection, SocketAddress dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult<Buffer,SocketAddress>> interceptor)
           
 GrizzlyFuture<WriteResult<Buffer,SocketAddress>> AbstractNIOAsyncQueueWriter.write(Connection connection, SocketAddress dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult<Buffer,SocketAddress>> interceptor, MessageCloner<Buffer> cloner)
          Method writes the Buffer to the specific address.
<M> GrizzlyFuture<WriteResult<M,SocketAddress>>
NIOConnection.write(M message)
           
<M> GrizzlyFuture<WriteResult<M,SocketAddress>>
NIOConnection.write(M message, CompletionHandler<WriteResult<M,SocketAddress>> completionHandler)
           
<M> GrizzlyFuture<WriteResult<M,SocketAddress>>
NIOConnection.write(SocketAddress dstAddress, M message, CompletionHandler<WriteResult<M,SocketAddress>> completionHandler)
           
 

Uses of GrizzlyFuture in org.glassfish.grizzly.nio.tmpselectors
 

Methods in org.glassfish.grizzly.nio.tmpselectors that return GrizzlyFuture
 GrizzlyFuture<ReadResult<Buffer,SocketAddress>> TemporarySelectorReader.read(Connection connection, Buffer message, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor)
           
 GrizzlyFuture<ReadResult<Buffer,SocketAddress>> TemporarySelectorReader.read(Connection connection, Buffer message, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor, long timeout, TimeUnit timeunit)
          Method reads data to the message.
 GrizzlyFuture<WriteResult<Buffer,SocketAddress>> TemporarySelectorWriter.write(Connection connection, SocketAddress dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult<Buffer,SocketAddress>> interceptor)
          Method writes the buffer to the specific address.
 GrizzlyFuture<WriteResult<Buffer,SocketAddress>> TemporarySelectorWriter.write(Connection connection, SocketAddress dstAddress, Buffer message, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult<Buffer,SocketAddress>> interceptor, long timeout, TimeUnit timeunit)
          Method writes the message to the specific address.
 

Uses of GrizzlyFuture in org.glassfish.grizzly.nio.transport
 

Methods in org.glassfish.grizzly.nio.transport that return GrizzlyFuture
 GrizzlyFuture<Connection> TCPNIOServerConnection.accept()
          Accept a Connection.
protected  GrizzlyFuture<Connection> TCPNIOServerConnection.acceptAsync()
          Asynchronously accept a Connection
 GrizzlyFuture<Connection> UDPNIOTransport.connect()
          Creates non-connected UDP Connection.
 GrizzlyFuture<Connection> UDPNIOConnectorHandler.connect()
          Creates non-connected UDP Connection.
 GrizzlyFuture<Connection> UDPNIOTransport.connect(SocketAddress remoteAddress)
          Creates, initializes and connects socket to the specific SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> TCPNIOTransport.connect(SocketAddress remoteAddress)
          Creates, initializes and connects socket to the specific SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> UDPNIOTransport.connect(SocketAddress remoteAddress, CompletionHandler<Connection> completionHandler)
          Creates, initializes and connects socket to the specific SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> TCPNIOTransport.connect(SocketAddress remoteAddress, CompletionHandler<Connection> completionHandler)
          Creates, initializes and connects socket to the specific SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> UDPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress)
          Creates, initializes socket, binds it to the specific local and remote SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> TCPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress)
          Creates, initializes socket, binds it to the specific local and remote SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> UDPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler)
          Creates, initializes socket, binds it to the specific local and remote SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> UDPNIOConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler)
           
 GrizzlyFuture<Connection> TCPNIOConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler)
           
 GrizzlyFuture<Connection> TCPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler)
          Creates, initializes socket, binds it to the specific local and remote SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> UDPNIOTransport.connect(String host, int port)
          Creates, initializes and connects socket to the specific remote host and port and returns Connection, representing socket.
 GrizzlyFuture<Connection> TCPNIOTransport.connect(String host, int port)
          Creates, initializes and connects socket to the specific remote host and port and returns Connection, representing socket.
protected  GrizzlyFuture<Connection> UDPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler)
           
protected  GrizzlyFuture<Connection> TCPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler)
           
protected  GrizzlyFuture<Connection> UDPNIOConnectorHandler.connectSync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler)
           
protected  GrizzlyFuture<Connection> TCPNIOConnectorHandler.connectSync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler)
           
 GrizzlyFuture<Integer> DefaultStreamWriter.flush(CompletionHandler<Integer> completionHandler)
           
protected  GrizzlyFuture<Integer> DefaultStreamWriter.Output.flush0(Buffer buffer, CompletionHandler<Integer> completionHandler)
           
 

Uses of GrizzlyFuture in org.glassfish.grizzly.streams
 

Fields in org.glassfish.grizzly.streams declared as GrizzlyFuture
protected static GrizzlyFuture<Integer> BufferedOutput.ZERO_READY_FUTURE
           
protected static GrizzlyFuture<Integer> AbstractStreamWriter.ZERO_READY_FUTURE
           
 

Methods in org.glassfish.grizzly.streams that return GrizzlyFuture
 GrizzlyFuture<Integer> BufferedOutput.close(CompletionHandler<Integer> completionHandler)
           
 GrizzlyFuture<Integer> StreamWriter.close(CompletionHandler<Integer> completionHandler)
          Close the StreamWriter and make sure all data was flushed.
 GrizzlyFuture<Integer> StreamOutput.close(CompletionHandler<Integer> completionHandler)
           
 GrizzlyFuture<Integer> Output.close(CompletionHandler<Integer> completionHandler)
          Close the StreamWriter and make sure all data was flushed.
 GrizzlyFuture<Integer> AbstractStreamWriter.close(CompletionHandler<Integer> completionHandler)
          Close the StreamWriter and make sure all data was flushed.
<E> GrizzlyFuture<E>
AbstractStreamReader.decode(Transformer<Stream,E> decoder)
          Read and decode data from the StreamReader
<E> GrizzlyFuture<E>
StreamReader.decode(Transformer<Stream,E> decoder)
          Read and decode data from the StreamReader
<E> GrizzlyFuture<E>
AbstractStreamReader.decode(Transformer<Stream,E> decoder, CompletionHandler<E> completionHandler)
          Read and decode data from the StreamReader
<E> GrizzlyFuture<E>
StreamReader.decode(Transformer<Stream,E> decoder, CompletionHandler<E> completionHandler)
          Read and decode data from the StreamReader
<E> GrizzlyFuture<Stream>
StreamWriter.encode(Transformer<E,Buffer> encoder, E object)
           
<E> GrizzlyFuture<Stream>
AbstractStreamWriter.encode(Transformer<E,Buffer> encoder, E object)
          
<E> GrizzlyFuture<Stream>
StreamWriter.encode(Transformer<E,Buffer> encoder, E object, CompletionHandler<Stream> completionHandler)
           
<E> GrizzlyFuture<Stream>
AbstractStreamWriter.encode(Transformer<E,Buffer> encoder, E object, CompletionHandler<Stream> completionHandler)
          
 GrizzlyFuture<Integer> StreamWriter.flush()
          Make sure that all data that has been written is flushed from the stream to its destination.
 GrizzlyFuture<Integer> AbstractStreamWriter.flush()
          Cause the overflow handler to be called even if buffer is not full.
 GrizzlyFuture<Integer> BufferedOutput.flush(CompletionHandler<Integer> completionHandler)
           
 GrizzlyFuture<Integer> StreamWriter.flush(CompletionHandler<Integer> completionHandler)
          Make sure that all data that has been written is flushed from the stream to its destination.
 GrizzlyFuture<Integer> StreamOutput.flush(CompletionHandler<Integer> completionHandler)
           
 GrizzlyFuture<Integer> Output.flush(CompletionHandler<Integer> completionHandler)
          Make sure that all data that has been written is flushed from the stream to its destination.
 GrizzlyFuture<Integer> AbstractStreamWriter.flush(CompletionHandler<Integer> completionHandler)
          Cause the overflow handler to be called even if buffer is not full.
protected  GrizzlyFuture<Integer> TransformerOutput.flush0(Buffer buffer, CompletionHandler<Integer> completionHandler)
           
protected abstract  GrizzlyFuture<Integer> BufferedOutput.flush0(Buffer buffer, CompletionHandler<Integer> completionHandler)
           
 GrizzlyFuture<Integer> AbstractStreamReader.notifyAvailable(int size)
          Method returns Future, using which it's possible check if StreamReader has required amount of bytes available for reading reading.
 GrizzlyFuture<Integer> StreamReader.notifyAvailable(int size)
          Method returns Future, using which it's possible check if StreamReader has required amount of bytes available for reading reading.
 GrizzlyFuture<Integer> AbstractStreamReader.notifyAvailable(int size, CompletionHandler<Integer> completionHandler)
          Method returns Future, using which it's possible check if StreamReader has required amount of bytes available for reading reading.
 GrizzlyFuture<Integer> StreamReader.notifyAvailable(int size, CompletionHandler<Integer> completionHandler)
          Method returns Future, using which it's possible check if StreamReader has required amount of bytes available for reading reading.
 GrizzlyFuture<Integer> AbstractStreamReader.notifyCondition(Condition condition)
          Method returns Future, using which it's possible check if StreamReader meets specific Condition.
 GrizzlyFuture<Integer> StreamReader.notifyCondition(Condition condition)
          Method returns Future, using which it's possible check if StreamReader meets specific Condition.
 GrizzlyFuture<Integer> AbstractStreamReader.notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)
          Method returns Future, using which it's possible check if StreamReader meets specific Condition.
 GrizzlyFuture<Integer> BufferedInput.notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)
           
 GrizzlyFuture<Integer> StreamInput.notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)
           
 GrizzlyFuture<Integer> Input.notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)
           
 GrizzlyFuture<Integer> StreamReader.notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)
          Method returns Future, using which it's possible check if StreamReader meets specific Condition.
 



Copyright © 2011 Oracle Corpration. All Rights Reserved.