use of com.hazelcast.durableexecutor.impl.DurableExecutorPartitionContainer in project hazelcast by hazelcast.
the class AbstractDurableExecutorOperation method getExecutorContainer.
public DurableExecutorContainer getExecutorContainer() {
if (executorContainer == null) {
DistributedDurableExecutorService service = getService();
DurableExecutorPartitionContainer partitionContainer = service.getPartitionContainer(getPartitionId());
executorContainer = partitionContainer.getOrCreateContainer(name);
}
return executorContainer;
}
use of com.hazelcast.durableexecutor.impl.DurableExecutorPartitionContainer in project hazelcast by hazelcast.
the class ReplicationOperation method run.
@Override
public void run() throws Exception {
DistributedDurableExecutorService service = getService();
DurableExecutorPartitionContainer partitionContainer = service.getPartitionContainer(getPartitionId());
for (DurableHolder durableHolder : list) {
partitionContainer.createExecutorContainer(durableHolder.name, durableHolder.ringBuffer);
}
}
Aggregations