public interface EngineExecutor
extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this.
|
void |
disposeContext(Serializable context)
Disposes of a context.
|
List<PointValue> |
execute(ResultValue resultValue,
String[] params,
Serializable context)
Executes the processing of a request for a result value.
|
Serializable |
newContext(Params params,
Logger logger)
Returns a new context.
|
boolean |
setUp(String name,
Params params,
Config config,
Logger logger)
Sets up this engine executor.
|
void |
tearDown()
Tears down what has been set up.
|
void close()
void disposeContext(@Nonnull
Serializable context)
context - The context.@Nullable @CheckReturnValue List<PointValue> execute(@Nonnull ResultValue resultValue, @Nonnull String[] params, @Nonnull Serializable context) throws InterruptedException, ServiceNotAvailableException
resultValue - The requested result.params - Result parameters.context - The context.InterruptedException - When interrupted.ServiceNotAvailableException - When the service is not available.@Nullable
@CheckReturnValue
Serializable newContext(@Nonnull
Params params,
@Nonnull
Logger logger)
params - The caller's parameters.logger - The caller's logger.@CheckReturnValue
boolean setUp(@Nonnull
String name,
@Nonnull
Params params,
@Nonnull
Config config,
@Nonnull
Logger logger)
name - The caller's name.params - The caller's parameters.config - The configuration.logger - The caller's logger.void tearDown()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.