Update Storm编程模型详解.md
This commit is contained in:
parent
a4e334e4a9
commit
42a0df5ee9
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
## 二、IComponent接口
|
## 二、IComponent接口
|
||||||
|
|
||||||
`IComponent`接口定义了Topology中所有组件(spout/bolt)的公共方法,自定义的spout或bolt都必须直接或间接实现这个接口。
|
`IComponent`接口定义了Topology中所有组件(spout/bolt)的公共方法,自定义的spout或bolt必须直接或间接实现这个接口。
|
||||||
|
|
||||||
```java
|
```java
|
||||||
public interface IComponent extends Serializable {
|
public interface IComponent extends Serializable {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user