TInput
- input typeTOutput
- output typepublic interface VortexFunction<TInput,TOutput>
TOutput call(TInput input) throws Exception
input
- of the functionException
- thrown here will bubble up in VortexFuture#get as ExecutionException
Exception should be thrown only after all resources are released as they cannot be cleared by Vortex
For example if threads are spawned here, shut them down before throwing an exceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.