XNIO API 2.1.0.CR2

org.jboss.xnio
Interface Cancellable

All Known Subinterfaces:
IoFuture<T>
All Known Implementing Classes:
AbstractConvertingIoFuture, AbstractIoFuture, FailedIoFuture, FinishedIoFuture

public interface Cancellable

An operation which may be cancelled.


Method Summary
 Cancellable cancel()
          Cancel an operation.
 

Method Detail

cancel

Cancellable cancel()
Cancel an operation. The actual cancel may be synchronous or asynchronous.

Returns:
this instance

XNIO API 2.1.0.CR2

Copyright © 2010 JBoss, a division of Red Hat, Inc.