Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lijianghuflute
canal
提交
e7de8289
canal
项目概览
lijianghuflute
/
canal
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
canal
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e7de8289
编写于
9月 18, 2020
作者:
Z
zavakid
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
= code cleanup : modified inner class to 'static' if possible
上级
5065fea9
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
8 addition
and
8 deletion
+8
-8
parse/src/main/java/com/alibaba/otter/canal/parse/inbound/mysql/MysqlMultiStageCoprocessor.java
...canal/parse/inbound/mysql/MysqlMultiStageCoprocessor.java
+2
-2
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/EntryCollector.java
...m/alibaba/otter/canal/prometheus/impl/EntryCollector.java
+1
-1
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/MetaCollector.java
...om/alibaba/otter/canal/prometheus/impl/MetaCollector.java
+1
-1
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/ParserCollector.java
.../alibaba/otter/canal/prometheus/impl/ParserCollector.java
+2
-2
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/SinkCollector.java
...om/alibaba/otter/canal/prometheus/impl/SinkCollector.java
+1
-1
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/StoreCollector.java
...m/alibaba/otter/canal/prometheus/impl/StoreCollector.java
+1
-1
未找到文件。
parse/src/main/java/com/alibaba/otter/canal/parse/inbound/mysql/MysqlMultiStageCoprocessor.java
浏览文件 @
e7de8289
...
...
@@ -387,7 +387,7 @@ public class MysqlMultiStageCoprocessor extends AbstractCanalLifeCycle implement
}
}
class
MessageEvent
{
static
class
MessageEvent
{
private
LogBuffer
buffer
;
private
CanalEntry
.
Entry
entry
;
...
...
@@ -437,7 +437,7 @@ public class MysqlMultiStageCoprocessor extends AbstractCanalLifeCycle implement
}
class
SimpleFatalExceptionHandler
implements
ExceptionHandler
{
static
class
SimpleFatalExceptionHandler
implements
ExceptionHandler
{
@Override
public
void
handleEventException
(
final
Throwable
ex
,
final
long
sequence
,
final
Object
event
)
{
...
...
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/EntryCollector.java
浏览文件 @
e7de8289
...
...
@@ -125,7 +125,7 @@ public class EntryCollector extends Collector implements InstanceRegistry {
}
}
private
class
EntryMetricsHolder
{
private
static
class
EntryMetricsHolder
{
private
AtomicLong
latestExecTime
;
private
AtomicLong
transactionCounter
;
private
List
<
String
>
destLabelValues
;
...
...
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/MetaCollector.java
浏览文件 @
e7de8289
...
...
@@ -81,7 +81,7 @@ public class MetaCollector extends Collector implements InstanceRegistry {
instances
.
remove
(
destination
);
}
private
class
MetaMetricsHolder
{
private
static
class
MetaMetricsHolder
{
private
List
<
String
>
infoLabelValues
;
private
List
<
String
>
destLabelValues
;
private
CanalMetaManager
metaManager
;
...
...
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/ParserCollector.java
浏览文件 @
e7de8289
...
...
@@ -141,7 +141,7 @@ public class ParserCollector extends Collector implements InstanceRegistry {
instances
.
remove
(
destination
);
}
private
class
ParserMetricsHolder
{
private
static
class
ParserMetricsHolder
{
private
List
<
String
>
parserLabelValues
;
private
List
<
String
>
modeLabelValues
;
// metrics for single parser
...
...
@@ -151,7 +151,7 @@ public class ParserCollector extends Collector implements InstanceRegistry {
private
boolean
isParallel
;
}
private
class
GroupParserMetricsHolder
extends
ParserMetricsHolder
{
private
static
class
GroupParserMetricsHolder
extends
ParserMetricsHolder
{
private
final
List
<
ParserMetricsHolder
>
holders
=
new
ArrayList
<>();
}
...
...
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/SinkCollector.java
浏览文件 @
e7de8289
...
...
@@ -80,7 +80,7 @@ public class SinkCollector extends Collector implements InstanceRegistry {
instances
.
remove
(
destination
);
}
private
class
SinkMetricsHolder
{
private
static
class
SinkMetricsHolder
{
private
AtomicLong
eventsSinkBlockingTime
;
private
List
<
String
>
destLabelValues
;
...
...
prometheus/src/main/java/com/alibaba/otter/canal/prometheus/impl/StoreCollector.java
浏览文件 @
e7de8289
...
...
@@ -174,7 +174,7 @@ public class StoreCollector extends Collector implements InstanceRegistry {
instances
.
remove
(
destination
);
}
private
class
StoreMetricsHolder
{
private
static
class
StoreMetricsHolder
{
private
AtomicLong
putSeq
;
private
AtomicLong
ackSeq
;
private
BatchMode
batchMode
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录