public class ScheduledExecutorContainer extends Object
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<String,ScheduledTaskDescriptor> |
tasks |
protected final ConcurrentMap<String,ScheduledTaskDescriptor> tasks
public ScheduledFuture schedule(TaskDefinition definition)
public boolean cancel(String taskName) throws ExecutionException, InterruptedException
public boolean has(String taskName)
public Object get(String taskName) throws ExecutionException, InterruptedException
public ScheduledTaskStatistics getStatistics(String taskName)
public boolean isCancelled(String taskName) throws ExecutionException, InterruptedException
public boolean isDone(String taskName) throws ExecutionException, InterruptedException
public void destroy()
public void dispose(String taskName) throws ExecutionException, InterruptedException
public void stash(TaskDefinition definition)
public void stash(ScheduledTaskDescriptor descriptor)
public Collection<ScheduledTaskDescriptor> getTasks()
public void syncState(String taskName, Map newState, ScheduledTaskStatisticsImpl stats, ScheduledTaskResult resolution)
public boolean shouldParkGetResult(String taskName) throws ExecutionException, InterruptedException
public int getDurability()
public String getName()
public NodeEngine getNodeEngine()
public ScheduledTaskHandler offprintHandler(String taskName)
protected void publishTaskState(String taskName, Map stateSnapshot, ScheduledTaskStatisticsImpl statsSnapshot, ScheduledTaskResult result)
TaskRunner#initOnce()
protected InvocationBuilder createInvocationBuilder(Operation op)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.