|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectml.shifu.guagua.master.BasicMasterInterceptor<MASTER_RESULT,WORKER_RESULT>
ml.shifu.guagua.master.MemoryStatsMasterInterceptor<MASTER_RESULT,WORKER_RESULT>
MASTER_RESULT - master result for computation in each iteration.WORKER_RESULT - worker result for computation in each iteration.public class MemoryStatsMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
MemoryStatsMasterInterceptor is used to print memory usage for each master checkpoint.
MemoryStatsMasterInterceptor is set as default system interceptor. So memory usage will be found in each
task's log file.
| 构造方法摘要 | |
|---|---|
MemoryStatsMasterInterceptor()
|
|
| 方法摘要 | |
|---|---|
void |
postApplication(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
The hook point after any computation logic. |
void |
postIteration(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
The hook point after computation of each iteration. |
void |
preApplication(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
The hook point before any computation logic. |
void |
preIteration(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
The hook point before computation of each iteration. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public MemoryStatsMasterInterceptor()
| 方法详细信息 |
|---|
public void preIteration(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
MasterInterceptor 复制的描述
MasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 preIterationBasicMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 preIterationcontext - the master context instance which includes worker results and other useful parameters.public void postIteration(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
MasterInterceptor 复制的描述
MasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 postIterationBasicMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 postIterationcontext - the master context instance which includes worker results and other useful parameters.public void preApplication(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
MasterInterceptor 复制的描述
MasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 preApplicationBasicMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 preApplicationcontext - the master context instance which includes worker results and other useful parameters.public void postApplication(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
MasterInterceptor 复制的描述
MasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 postApplicationBasicMasterInterceptor<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable> 中的 postApplicationcontext - the master context instance which includes worker results and other useful parameters.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||