com.levigo.util.concurrent.tasks
Interface CancelableTask<R>

Type Parameters:
R - the task's result type.
All Superinterfaces:
Callable<R>, Task<R>

public interface CancelableTask<R>
extends Task<R>

Tasks implementing this interface are able to cancel their activity upon external request.


Method Summary
 void cancel()
           
 
Methods inherited from interface java.util.concurrent.Callable
call
 

Method Detail

cancel

void cancel()


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.