public interface Offloadable
Modifier and Type | Field and Description |
---|---|
static String |
NO_OFFLOADING
Constant meaning that there will be no off-loading if returned from the
getExecutorName() method. |
static String |
OFFLOADABLE_EXECUTOR
Constant meaning that processing will be off-loaded to the default OFFLOADABLE_EXECUTOR executor.
|
Modifier and Type | Method and Description |
---|---|
String |
getExecutorName()
Returns the name of the executor to which the processing unit will be off-loaded.
|
static final String NO_OFFLOADING
getExecutorName()
method.static final String OFFLOADABLE_EXECUTOR
getExecutorName()
method.String getExecutorName()
ExecutionService.OFFLOADABLE_EXECUTOR
.
The return value equal to "no-offloading" indicates that the processing should not be off-loaded at all.
The processing will be executed as if the processing-unit didn't implement the Offloadable
interface.
Other return values will lookup the executor with the returned value which can be configured in the Hazelcast
configuration.ExecutorConfig
,
Config.addExecutorConfig(ExecutorConfig)
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.