public final class Operations extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Operations.CompletedFuture<T>This class represents a  Futurein the completed state with a fixed result. | 
| Constructor and Description | 
|---|
| Operations() | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hc.core5.concurrent.Cancellable | cancellable(Future<?> future)Creates a  Cancellableoperation handle for an ongoing process
 or operation represented by aFuture. | 
| static org.apache.hc.core5.concurrent.Cancellable | nonCancellable()Creates a  Cancellableoperation handle for an ongoing process
 or operation that cannot be cancelled. | 
public static org.apache.hc.core5.concurrent.Cancellable nonCancellable()
Cancellable operation handle for an ongoing process
 or operation that cannot be cancelled. Attempts to cancel the operation
 with this handle will have no effect.Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.