Search in sources :

Example 1 with DurableExecutorContainer

use of com.hazelcast.durableexecutor.impl.DurableExecutorContainer in project hazelcast by hazelcast.

the class TaskBackupOperation method run.

@Override
public void run() throws Exception {
    DurableExecutorContainer executorContainer = getExecutorContainer();
    Callable callable = getNodeEngine().toObject(callableData);
    executorContainer.putBackup(sequence, callable);
}
Also used : DurableExecutorContainer(com.hazelcast.durableexecutor.impl.DurableExecutorContainer) Callable(java.util.concurrent.Callable)

Example 2 with DurableExecutorContainer

use of com.hazelcast.durableexecutor.impl.DurableExecutorContainer in project hazelcast by hazelcast.

the class RetrieveResultOperation method run.

@Override
public void run() throws Exception {
    DurableExecutorContainer executorContainer = getExecutorContainer();
    result = executorContainer.retrieveResult(sequence);
}
Also used : DurableExecutorContainer(com.hazelcast.durableexecutor.impl.DurableExecutorContainer)

Example 3 with DurableExecutorContainer

use of com.hazelcast.durableexecutor.impl.DurableExecutorContainer in project hazelcast by hazelcast.

the class DisposeResultBackupOperation method run.

@Override
public void run() throws Exception {
    DurableExecutorContainer executorContainer = getExecutorContainer();
    executorContainer.disposeResult(sequence);
}
Also used : DurableExecutorContainer(com.hazelcast.durableexecutor.impl.DurableExecutorContainer)

Example 4 with DurableExecutorContainer

use of com.hazelcast.durableexecutor.impl.DurableExecutorContainer in project hazelcast by hazelcast.

the class DisposeResultOperation method run.

@Override
public void run() throws Exception {
    DurableExecutorContainer executorContainer = getExecutorContainer();
    executorContainer.disposeResult(sequence);
}
Also used : DurableExecutorContainer(com.hazelcast.durableexecutor.impl.DurableExecutorContainer)

Example 5 with DurableExecutorContainer

use of com.hazelcast.durableexecutor.impl.DurableExecutorContainer in project hazelcast by hazelcast.

the class RetrieveAndDisposeResultOperation method run.

@Override
public void run() throws Exception {
    DurableExecutorContainer executorContainer = getExecutorContainer();
    result = executorContainer.retrieveAndDisposeResult(sequence);
}
Also used : DurableExecutorContainer(com.hazelcast.durableexecutor.impl.DurableExecutorContainer)

Aggregations

DurableExecutorContainer (com.hazelcast.durableexecutor.impl.DurableExecutorContainer)6 Callable (java.util.concurrent.Callable)1