public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled
in interface Future<T>
public T get() throws ExecutionException
get
in interface Future<T>
ExecutionException
public T get(long timeout, TimeUnit unit) throws ExecutionException
get
in interface Future<T>
ExecutionException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.