本文整理了Java中com.linkedin.parseq.Task.contextRun()
方法的一些代码示例,展示了Task.contextRun()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Task.contextRun()
方法的具体详情如下:
包路径:com.linkedin.parseq.Task
类名称:Task
方法名:contextRun
[英]Attempts to run the task with the given context. This method is reserved for use by Engine and Context.
[中]尝试使用给定上下文运行任务。此方法保留供引擎和上下文使用。
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: linkedin/parseq
@Override
public void run() {
_inTask.set(_task);
try {
_task.contextRun(ContextImpl.this, _parent, _predecessorTasks);
} finally {
_inTask.remove();
}
}
代码示例来源:origin: linkedin/parseq
@Override
public boolean cancel(Exception reason) {
boolean result = _task.cancel(reason);
//run the task to capture the trace data
_task.contextRun(this, _parent, _predecessorTasks);
return result;
}
代码示例来源:origin: linkedin/parseq
private void runTask(final Task<?> task) {
task.contextRun(new NullContext(), NO_PARENT, NO_PREDECESSORS);
}
代码示例来源:origin: com.linkedin.parseq/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: com.linkedin.parseq/parseq
/**
* {@inheritDoc}
*/
@Override
public void contextRun(Context context, Task<?> parent, Collection<Task<?>> predecessors) {
_task.contextRun(context, parent, predecessors);
}
代码示例来源:origin: com.linkedin.parseq/parseq
@Override
public boolean cancel(Exception reason) {
boolean result = _task.cancel(reason);
//run the task to capture the trace data
_task.contextRun(this, _parent, _predecessorTasks);
return result;
}
内容来源于网络,如有侵权,请联系作者删除!